View Single Post
07-28-16, 08:25 PM   #1
Layback_
An Onyxian Warder
Join Date: Feb 2016
Posts: 358
Creating aura errors '/fstack' command

Before I start, if I am violating any rules of this forum, please let me know!
( Why is there no delete button on forum D: )

Anyways...

I was creating a auras frame and just copy-pasted the example code provided inside aura.lua file to see how it looks like.

Lua Code:
  1. A.CreateBuffs = function(f, unit)
  2.     local Buffs = CreateFrame("Frame", "$parentBuffs", f);
  3.     Buffs:SetPoint("RIGHT", f, "LEFT");
  4.     Buffs:SetSize(16 * 2, 16 * 16);
  5.  
  6.     f.Buffs = Buffs;
  7. end

After that, I used '/fstack' command which passed me the following error.

Lua Code:
  1. Message: invalid key to 'next'
  2. Time: 07/28/16 19:29:53
  3. Count: 1
  4. Stack: [C]: in function `SetFrameStack'
  5. ...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:715: in function `FrameStackTooltip_Toggle'
  6. Interface\FrameXML\ChatFrame.lua:2293: in function `?'
  7. Interface\FrameXML\ChatFrame.lua:4332: in function `ChatEdit_ParseText'
  8. Interface\FrameXML\ChatFrame.lua:4000: in function `ChatEdit_SendText'
  9. Interface\FrameXML\ChatFrame.lua:2631: in function <Interface\FrameXML\ChatFrame.lua:2624>
  10. [C]: in function `UseAction'
  11. Interface\FrameXML\SecureTemplates.lua:348: in function `handler'
  12. Interface\FrameXML\SecureTemplates.lua:621: in function `SecureActionButton_OnClick'
  13. Interface\FrameXML\MultiActionBars.lua:24: in function `MultiActionButtonUp'
  14. [string "MULTIACTIONBAR3BUTTON5"]:4: in function <[string "MULTIACTIONBAR3BUTTON5"]:1>

I honestly can't even think of what is causing this error ...

Does anyone know what is going wrong with this?

Last edited by Layback_ : 07-28-16 at 10:43 PM.
  Reply With Quote