Eventful. Launch every event, for great debug!
This is LOGwut's bigger brother, it can basically debug every event in the game. To use it...
/evt event_name event_name event_name [...]
And to turn it off...
/evt
It doesn't register any events until you tell it to with the command, and once you've turned it off it unregisters all the events you've registered. Due to this, it's very resource efficient and you can leave it sitting in the background of your player characters doing nothing until you need it.
But if you need to know when event A fires, or how many arguments event A has and what's supplied to them, then Eventful can tell you in a very prettily formatted output.
This event output is based on the following system....
Code:
frame:SetScript("OnEvent", function(...)
event a, b, c, [...] = ...
end)
The arguments are pulled from what's passed to the function, not the global arg1 and arg2 type variables, which seem to be deprecated.