DevTools

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.

http://www.wowinterface.com/downloads/small444.jpg

Example from /dump ChatFrame1

http://www.wowinterface.com/downloads/small2477.jpg

/dtchatevent links and tooltip

http://www.wowinterface.com/downloads/small2478.jpg

/dtframestack info tooltip

Obtaining
You can download the Addon from my download site or from wowinterface.com.

/reload
Just a shortcut (since I'm lazy) for /script ReloadUI

/dump expression
Prints the result of executing a LUA expression (Basically /script but with output). It should be able to handle pretty much any kind of return data (including self-referential nested tables!)

e.g. /dump GetPlayerMapPosition("player") DevTools: value=GetPlayerMapPosition("player") [1]0.43320921063423 [2]0.69365233182907

/dtchatevent
Toggle chat event tracking/debugging (this is a saved setting). When active each chat frame message (in all standard ChatFrames) will be prefixed by a marker that can be clicked on the pop up the details of the event that created it.

/dtchatevent buffer

Displays the current chat event rolling buffer size.

/dtchatevent buffer

Set the current chat event rolling buffer size (e.g. /dtchatevent buffer 10000), the default buffer size is 1000.

/dtframestack
Toggles the 'frame stack' window, which displays the stack of visible frames under the mouse pointer. (There are also key bindings for this).