Endless Looping
Jim Ault
JimAultWins at yahoo.com
Sat Feb 3 17:41:43 EST 2007
If you forgot to do the previous suggestions, you can try to put a mouse
clicked breakpoint in the script window next to a line of code that will be
executed and the debugger will see this and be triggered. This requires
that the script editor be open to the handler and loop that you are
enjoying. This can be done while the loop is spinning.
Jim Ault
Las Vegas
On 2/3/07 1:42 PM, "Phil Davis" <revdev at pdslabs.net> wrote:
> Hi Joe,
>
> Another way is:
> repeat
> if the shiftKey is down then exit repeat
> doMyMainStuff
> end repeat
> Phil Davis
>
> Mark Schonewille wrote:
>> Hi Joe,
>>
>> There was a release whose allowInterrupts was set to false by default.
>> If you make sure that it is set to true, you can abort running scripts
>> with command-period (control-period on Windows).
>> Mark
>> Op 3-feb-2007, om 21:56 heeft LunchnMeets at aol.com het volgende geschreven:
>>
>>> Hi Everyone
>>>
>>> Is there a way for me to stop a running script that¹s caught in an
>>> endless
>>> loop so I can fix my scripting error?
>>>
>>> Joe
>>> Orlando, Florida
More information about the use-livecode
mailing list