Page 1 of 1

How to break code

Posted: Fri Oct 26, 2012 1:28 am
by hill180
Many times, I am running a script that might be an infinite loop or a database code error I need to break out of.

Is there a way to easily break the code? Some secret key combo that runs from development, or do I just have to force close, lose what I have done and start up again.

Thanks.

Re: How to break code

Posted: Fri Oct 26, 2012 1:41 am
by Bernard
cmd + period (full stop) on OS X. I just tried it and it works still there (v.5.5.2)

I think it is ctrl + period on Windows.

Re: How to break code

Posted: Fri Oct 26, 2012 5:29 am
by shaosean
http://docs.runrev.com/Property/allowInterrupts wrote:If the allowInterrupts property is set to true, the user can halt handlers by typing Control-period or Control-break (on Windows or Unix) or Command-period (on Mac OS). Setting this property to false disables this capability and ensures that the user cannot interrupt a handler.