Quantcast
WoWInterface - View Single Post - Documentation for correct toolbar button for spells
View Single Post
06-22-22, 05:03 PM   #2
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,133
Can you give an example of a stack trace that you're having trouble with?

A stack trace basically lists all active functions with the currently running one at the top. With few exceptions, it generally lists what the function is named, what file the function is defined in, where it is in the file, and the line the run position is currently at in that function. This only really works in Lua-defined functions as C functions from the game itself aren't really supported at this detail and usually either supply a name or show up as "?". There are a few things even in pure Lua code that can confuse a stacktrace and you need to look at the surrounding lines to get a better idea of what's going on.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)

Last edited by SDPhantom : 06-22-22 at 05:11 PM.
  Reply With Quote