Page 1 of 1

Script Editor causing lock up

Posted: Thu May 13, 2010 8:28 pm
by Paul D
Windows XP SP3, Revolution 4.0.0 build 950

Sometimes, when I set a breakpoint in my script and then hit stop debugging, revolution locks up and runs at 50% CPU. I can't exit, switch windows, minimize... nothing. I have to end process in task manager and re-open Revolution to fix it. Any ideas?

Re: Script Editor causing lock up

Posted: Fri May 14, 2010 5:03 am
by Curry
Double-check that you don't have any loop going on in your own code. If your code checks out okay then check the bug DB for this issue and:

Don't use breakpoints or debugging. :-) Use "put variablename" at the point you want instead. Might sound primitive, but hey, this is my habit and I never lock up.

Always save and duplicate stacks frequently just in case.

Re: Script Editor causing lock up

Posted: Fri May 14, 2010 3:15 pm
by Paul D
Well, the locking up happens randomly. It wasn't in a loop this time though. I use breakpoints for stepping as I show and explain code here at work sometimes. :?