Wowpedia

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

READ MORE

Wowpedia
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
  +
{{macroapi}}
The Blizzard DebugTools appeared in Patch 3.2 and added a set of new slash commands to assist with addon development a UI tweaking. Inspired/derived from Iriel's [[DevTools]] addon.
+
The '''Blizzard DebugTools''' appeared in Patch 3.2 and added a set of new slash commands to assist with addon development and UI tweaking. Inspired/derived from Iriel's [[DevTools]] addon.
   
== Frame stack ==
+
== List of included commands ==
  +
* [[framestack]]
  +
* [[eventtrace]]
  +
* [[dump]]
   
=== Description ===
 
Displays information about the frames under the mouse cursor.
 
 
=== Usage ===
 
/framestack [showhidden]
 
 
/fstack [showhidden]
 
 
=== Arguments ===
 
 
'''showhidden''' - if "true" then will also display information about hidden frames
 
 
=== See Also ===
 
[[MACRO_framestack]]
 
 
== Event Trace ==
 
 
=== Description ===
 
The EventTrace command assists addon developers in figuring out what events fire in certain circumstances. For example, you may want to know what order events fire
 
when you zone into a random dungeon instance or when loot drops.
 
 
=== Usage===
 
/eventtrace [command]
 
 
/etrace [command]
 
 
=== Arguments ===
 
 
'''start''' - enables event capturing to the EventTrace frame
 
 
'''stop''' - disables event capturing
 
 
''number'' - captures the provided number of events and then stops
 
 
If no command is given the EventTrace frame visibility is toggled. The first time the frame is displayed, event tracing is automatically started.
 
 
=== See Also ===
 
[[MACRO_eventtrace]]
 
 
== Dump ==
 
 
=== Description ===
 
 
Used to print variables or expression results to the chat frame.
 
 
=== Usage ===
 
/dump expression
 
 
''expression'' can be any valid lua expression that results in a value. So variable names, function calls, frames or tables can all be dumped.
 
 
=== See also ===
 
[[MACRO_dump]]
 
 
[[Category:Development Help AddOns]]
 
[[Category:Development Help AddOns]]
[[Category:Macro API]]
 

Latest revision as of 18:24, 18 April 2021

The Blizzard DebugTools appeared in Patch 3.2 and added a set of new slash commands to assist with addon development and UI tweaking. Inspired/derived from Iriel's DevTools addon.

List of included commands