Documentation for correct toolbar button for spells
Hekili has the ability to tell you what button a spell is on but I'm baffled how they do it. I've tried breaking their addon a few times but the stack traces in BugSack make my head hurt.
Is there any documentation on this particular part of the WoW Lua API someone to which could provide a link?
Thanks in advance.
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.
I found where Hekili has the ReadKeybindings function and all is going well. Thanks for your reply.
|All times are GMT -6. The time now is 01:22 AM.|
vBulletin © 2022, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI