Page 1 of 1
Finding the interrupted function
Posted: Thu Apr 08, 2010 6:55 am
by WinstonJenks
I have a complicated application that periodically gets stuck in a script loop (apparently) because the application appears frozen. I can break out of it with Control-. (in Windows) and then the application is no longer frozen. But I still have no idea where the application was stuck. Is there any way I can either 1) stop the script and show the script debugger to see where I am, or 2) find the name of the interrupted handler after I hit Control-. ?
Re: Finding the interrupted function
Posted: Thu Apr 08, 2010 12:13 pm
by BvG
When you hit ctrl-period, the error dialog pops up. The type should be "repeat: aborted" or similar. Click the "script" button at the bottom of that dialog to see the faulty repeats starting line.
Re: Finding the interrupted function
Posted: Tue Apr 13, 2010 11:10 pm
by WinstonJenks
The error dialog does not pop up when I hit Control-period. Is there some setting that prevents that?
Re: Finding the interrupted function
Posted: Mon Sep 27, 2010 4:51 pm
by WinstonJenks
I found it. It looks like allowInterrupts global variable, in addition to the cantAbort properyty of each stack could be the cause of this behavior.