Sol.data.frames.PrintFrameHierarchy

Sol.data.frames.PrintFrameHierarchy = function(printFn, printFrame, printSpacing, rootFrame)

Prints all the global frames and their children, and their children, etc. I.e., prints the frame tree. Creates the hierarchy first, if necessary.

Parameters: + maxLevel    - How far down to recurse. I wouldn't set this more than say, 5, as the game tends to freeze up. + printFn     - The function used for printing. If not specified, will try some known text functions on printFrame but will error if                 none are found. + printFrame  - The frame to print to. Not used if printFn is set. Otherwise, if printFn and printFrame are nil, prints to DEFAULT_CHAT_FRAME + printSpacing - True to add a number of spaces to the begining of a line depending on how far down in the tree the current node is. Default is true.

Example: Sol.data.frames.PrintFrameHierarchy(nil, Sol.util.FindDebugFrame, false, PlayerFrame)