Finding the interrupted function
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 36
- Joined: Fri Jan 01, 2010 12:11 am
Finding the interrupted function
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
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.
Various teststacks and stuff:
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
-
- Posts: 36
- Joined: Fri Jan 01, 2010 12:11 am
Re: Finding the interrupted function
The error dialog does not pop up when I hit Control-period. Is there some setting that prevents that?
-
- Posts: 36
- Joined: Fri Jan 01, 2010 12:11 am
Re: Finding the interrupted function
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.