Macros |
---|
General guides |
Macros Beginners Guide |
Useful macros by class |
The eventtrace command tracks events using the EventTraceFrame and is part of the Blizzard DebugTools interface. This assists addon developers in figuring out what events fire in certain circumstances. For example, what order events fire in when a player zones into a random dungeon instance or when loot drops.
Source: AddOns/Blizzard_DebugTools/Blizzard_DebugTools.lua
Usage
/eventtrace /etrace
/etrace start /etrace stop /etrace <number> /etrace mark [text]
- <no arguments>
- Toggles the window. This does not start capturing events again if it was previously stopped.
- start / stop
- Manually starts/stops capturing events. This does NOT open/close the window.
- <number>
- Resumes capturing until the given amount of events have fired. Requires tracking events to be previously stopped. This does NOT open/close the window.
/etrace 10
- mark

/etrace mark
- Adds a (custom) message to the event trace window to help debugging.
/etrace mark /etrace mark hello
Details
- Events can be filtered from the session by clicking the small cross icons.
Events can also be filtered with an addon.
-- or listen for ADDON_LOADED or use `## LoadOnDemand: 1` and `## LoadWith: Blizzard_DebugTools`
if not EventTraceFrame then
UIParentLoadAddOn("Blizzard_DebugTools")
EventTraceFrame:HookScript("OnShow", function(self)
self.ignoredEvents = {
COMBAT_LOG_EVENT = true,
SPELL_ACTIVATION_OVERLAY_HIDE = true,
}
end)
end
Patch changes
Patch 9.1.0 (2021-06-29): Rewritten and moved to Blizzard_EventTrace[1][2].
- Synced with patch 2.5.1 and during patch 1.13.7
- Synced with patch 2.5.1 and during patch 1.13.7
Patch 3.2.0 (2009-08-04): Added as part of Blizzard_DebugTools[3].