Wowpedia

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

READ MORE

Wowpedia
Advertisement

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
/run EventTrace:TogglePause()
/run EventTrace:SetLoggingPaused(false)
/run EventTrace:SetLoggingPaused(true)
/etrace mark [text]
<no arguments>
Toggles the window. This does not start capturing events again if it was previously stopped.
start / stop
The console command seems to have been removed. A work around is to use the lua function EventTrace:TogglePause() to toggle the event logging on and off. To explicitly start or stop use the function EventTrace:SetLoggingPaused().
mark
MACRO eventtrace 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.

MACRO eventtrace

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[]

  • Shadowlands 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
  • Wrath-Logo-Small Patch 3.2.0 (2009-08-04): Added as part of Blizzard_DebugTools[3].

References[]

Advertisement