Track All Events?

Apologies for improper terminology here, I am new to Lua.

I was wondering if there was a simple way to create a script that tracks every event that takes place and just prints the the name of the event - rather than only handling specific events.

I’ve only seen the concept of registering specific events, so I am not sure if this is possible - any guidance would be appreciated.

I am just trying to figure out a practical way to see what events take place when certain actions happen.

Thank you.

The default UI has a tool to that does this: /eventtrace

It looks like it uses Frame:RegisterAllEvents()

https://www.townlong-yak.com/framexml/live/Blizzard_DebugTools/Blizzard_DebugTools.lua

1 Like

With /etrace you can select specific events to “ignore” in the list (click the red X button that appears when you mouse over an event) so you can whittle it down to events you are interested in.

2 Likes

Thank you both, this is exactly what I am looking for