FunctionWatch
A monitoring tool for function calls, based on illusory's EventWatch. It uses hooks to see when a function gets called and prints the function and its parameters to the general chat window. Now with frames!
Commands:
/fwatch add <FunctionName> [frame] [color]
- Starts watching FunctionName. Specify frame if it's not a global function. Specify printout color as RRGGBB (use nil for frame if neccessary)
/fwatch remove <FunctionName> [frame]
- Stops watching FunctionName. Specify frame if it's not a global function
/fwatch remove ALL
- Stops watching all functions (note: ALL must be all caps)
/fwatch print [watched|saved|both] [<search>]
- Prints watched and saved functions, or specify which one. Use the 3rd param to find a specific function
/fwatch count
- Prints how many watched and saved functions there are
/fwatch load
- Loads and hooks saved functions
The complete list of Functions is available on the RoM Wiki, as well as Frames and Widget Methods
Big thanks go to illusory for EventWatch =)
v1.22
FunctionWatch can now be enabled and disabled using /fwatch toggle or from within AddonManager