Stopping endless loop

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
jwbuzz
Posts: 39
Joined: Tue Apr 13, 2010 7:56 pm

Stopping endless loop

Post by jwbuzz » Thu May 13, 2010 7:57 pm

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?

sturgis
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1685
Joined: Sat Feb 28, 2009 11:49 pm

Re: Stopping endless loop

Post by sturgis » Thu May 13, 2010 8:00 pm

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.

jwbuzz
Posts: 39
Joined: Tue Apr 13, 2010 7:56 pm

Re: Stopping endless loop

Post by jwbuzz » Thu May 13, 2010 8:39 pm

Thanks. Cmd - worked. Just seems kind of strange that you have to make a comment to get it to stop.

Post Reply