WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Lua/XML Help (https://www.wowinterface.com/forums/forumdisplay.php?f=16)
-   -   info about "script ran too long" (https://www.wowinterface.com/forums/showthread.php?t=44812)

Jarod24 10-17-12 09:58 AM

info about "script ran too long"
 
So i've read that the Blizzard devs added a restriction on how long scripts can run.
The "script ran too long" error is shown if your code is too slow, especially when in combat.


However i have not seen much info more than that; like how much time is "too long"? Is this a flat time or are they counting operations done? callstack-depth? or... what?

Talyrius 10-17-12 02:22 PM

I have seen this error occur several times now and it seemingly blames a different addon each time. I usually see it after entering combat during a UI reload.

jeffy162 10-17-12 04:39 PM

Hmmm.... If I use ANY type of addon that lets me know how much memory is being used by my addons, I get that error as soon as I enter combat. No reload required. Disable the memory addon,and.... VIOLA'!! The error goes away. Strange, eh?


All times are GMT -6. The time now is 03:03 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI