Nameplate/Personal Resource Bar Bug
View Single Post
03-31-20, 05:43 PM
Join Date: Feb 2006
Originally Posted by
Sorry, I don't use LUI, I meant LUA errors.
I've begun disabling my addons one by one to try and whittle down the possibilities. The annoying thing is, I can't recreate the bug intentionally. I don't even understand the circumstances under which it manifests. It happens sometimes in raid, sometimes in arena, sometimes in the world. Hence my question regarding maybe being able to trace the error code itself to a particular addon.
Unfortunately not in that instance. The bane of any programmers life .. how to fix a problem that cannot be forced repeatedly. All you can do is try to see if there is a programmatic reason for it based on when it happens and what was being done at the time. This is called blind coding ( if you weren't aware ). It may not fix the problem but it has just as much chance to fix the problem..
If the error report details which addon and line in the addon *caused* the error one could look at the code and see if the error mentioned reflects the code segment on that line..
If the error occurs with just one addon, in which case one would place several *debug* statements to identify at what point the error occurs by seeing which debug messages appear before the error occurs. Unfortunately because most if not all of the error code is in Blizzards own code we can't do that. So it may be a combination of actions/situations that cause the error.
Info Panel IDs :
View Public Profile
Send a private message to Xrystal
Find More Posts by Xrystal