
If you’re working on a project that’s prone to timing out on you, and throwing those “A script has executed for longer than the default timeout period of 15 seconds” errors, here’s a quick tip for you until fix the bugs causing the timeout.
Just set the scriptTimeLimit attribute of your <mx:Application> tag to a smaller value, like 3 seconds. That way you won’t need to wait around for a while waiting for your app to crash so you can get back to debugging the problem. It’ll crash in about 3 seconds instead of 15, or even a full minute later.
Obviously, the ideal solution is to fix the bug causing the timeout, but while you’re debugging, this should help to ease the pain a little bit.
LiveDocs: http://livedocs.adobe.com/flex/3/langref/mx/core/Application.html#scriptTimeLimit
Comments feed (RSS 2.0) You can skip to the end and leave a response. Pinging is currently not allowed.


Leave a Reply