Page 1 of 1

Stopping endless loop

Posted: Thu May 13, 2010 7:57 pm
by jwbuzz
I added a statement to my code that caused an endless loop. The problem is, I don't know how to stop it where I can edit the script. I click on the "Stop debugging" button, but it goes right back into it. I can't close Revolution and reopen it because this happens on openCard so it immediately fires. How do I get out of the running environment where I can edit my script?

Re: Stopping endless loop

Posted: Thu May 13, 2010 8:00 pm
by sturgis
On a mac try hitting command-. see if that gets it to stop. Ctrl-. on win.
Alternatively, I believe you can start rev and turn messages off, then open the stack.

Re: Stopping endless loop

Posted: Thu May 13, 2010 8:39 pm
by jwbuzz
Thanks. Cmd - worked. Just seems kind of strange that you have to make a comment to get it to stop.