DevTools |
From WoWDev
The DevTools AddOn is a small addon which provides tools for developers of UI mods, particularly for examining the World of Warcraft API. It's primarily a tool I built for myself but I figured I'd share it in case it's useful to others.
Contents |
[edit]
Usage
The AddOn provides two slash commands.
[edit]
/reload
This is just a shortcut for /script ReloadUI() - I suspect this has been done a million times before by other addons.
[edit]
/dump expression
This works almost the same as /script, except that the result of the expression is printed into the default chat frame. For example:
/dump GetPlayerMapPosition("player")
DevTools: Dump GetPlayerMapPositon("player")
[1]0.43320921063423
[2]0.69365233182907
Note that the expression shouldn't end in a semicolon, since all this does is wraps the provided expression in a call to a dump function.
[edit]
Download
[edit]

