开发者

Error #1502: A script has executed for longer than the default timeout period of 15 seconds

I got this error and I am not sure what it's about. The last thing I remember doing is adding a clearInterval() method to clear some setTimeOut() intervals variables. Besides that I am not sure what it could be. Not asking for a solution, but if anyone knows any possibilities of what could trigger that 开发者_StackOverflow中文版error, maybe that might help me to figure out where it's coming from.


An infinite loop can cause this error. You are into a function that never ends and since everything is freezed, the player let you interrupt the running script after a timeout period.


Nine times out of ten it's something like this:

var i:int;

while (i < 10)
{
    // do something
}

i.e. you probably forgot to increment i,

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜