Debugging "protected function call" errors
Hi,
I'm somehow lost... Many times I'm receiving errors like the following one (the log provided by the BugGrabber addon). 1x [ADDON_ACTION_BLOCKED] AddOn 'PetTracker' tried to call the protected function '<unnamed>:Hide()'. !BugGrabber\BugGrabber.lua:573: in function <!BugGrabber\BugGrabber.lua:573> [C]: in function `Hide' FrameXML\WorldMapActionButton.lua:58: in function `Clear' FrameXML\WorldMapActionButton.lua:67: in function `Refresh' FrameXML\WorldMapActionButton.lua:19: in function `SetMapAreaID' FrameXML\WorldMapFrame.lua:1230: in function `WorldMapFrame_Update' FrameXML\WorldMapFrame.lua:2809: in function `WorldMapFrame_UpdateMap' FrameXML\WorldMapFrame.lua:436: in function <FrameXML\WorldMapFrame.lua:422> [C]: ? [C]: in function `SetMapToCurrentZone' FrameXML\WorldMapFrame.lua:370: in function <FrameXML\WorldMapFrame.lua:349> [C]: ? ... FrameXML\UIParent.lua:2327: in function `SetUIPanel' FrameXML\UIParent.lua:2166: in function `ShowUIPanel' FrameXML\UIParent.lua:2086: in function <FrameXML\UIParent.lua:2082> [C]: in function `SetAttribute' FrameXML\UIParent.lua:2868: in function <FrameXML\UIParent.lua:2856> [C]: in function `ShowUIPanel' FrameXML\UIParent.lua:2852: in function `ToggleFrame' FrameXML\WorldMapFrame.lua:261: in function <FrameXML\WorldMapFrame.lua:233> [C]: in function `ToggleWorldMap' [string "TOGGLEWORLDMAP"]:1: in function <[string "TOGGLEWORLDMAP"]:1> Locals: It seems that the execution path comes from the Blizzard's code, so why does it blame the PetTracker addon? (It happens with other addons too). In any case, how do I approach debugging such problem? Best regards, Brizag UPDATE: Another example: 1x [ADDON_ACTION_BLOCKED] AddOn 'MultiBars' tried to call the protected function 'OverrideActionBarButton1:Show()'. !BugGrabber\BugGrabber.lua:573: in function <!BugGrabber\BugGrabber.lua:573> [C]: in function `Show' FrameXML\ActionButton.lua:330: in function `ActionButton_Update' FrameXML\ActionButton.lua:665: in function `ActionButton_OnEvent' FrameXML\ActionButton.lua:174: in function <FrameXML\ActionButton.lua:171> Locals: |
If it's your addon:
The wrong addon can be blamed for any number of reasons, all of which basically boil down to "whoever touched it (or looked at it sideways, or was seen in the general vicinity of it) last gets all the blame". |
Thank you very much! I'll try that.
|
This is taint from having the map open while getting into combat. There is a secure action button attached to the frame to instantly complete a world quest which causes the taint errors (even if you don't have the class hall upgrade for it). Not much you can do about it, anything that touches the map can be blamed.
|
Quote:
|
All times are GMT -6. The time now is 09:43 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI