Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Advertisement
AddOn
AddOn article
This page describes fan-made scripting using the World of Warcraft API which has had notable impact on the game's development/history.

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.

Obtaining[]

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

Usage[]

/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 <size>

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).

/tinspect GlobalName[]

Opens the given Table in a visual inspector so you can poke around a table. Better alternative to /dump GlobalName

If no variable is provided, uses the current Mouseover as the target. Great for exploring Unit frames.

See MACRO tableinspect

Advertisement