Script Editor causing lock up

Deploying to Windows? Utilizing VB Script execution? This is the place to ask Windows-specific questions.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Paul D
Posts: 116
Joined: Mon May 21, 2007 6:58 pm

Script Editor causing lock up

Post by Paul D » Thu May 13, 2010 8:28 pm

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?

Curry
Posts: 111
Joined: Mon Oct 15, 2007 11:34 pm
Contact:

Re: Script Editor causing lock up

Post by Curry » Fri May 14, 2010 5:03 am

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.
Best wishes,

Curry Kenworthy

LiveCode Development, Training & Consulting
http://livecodeconsulting.com/

WordLib: Conquer MS Word & OpenOffice
SpreadLib: "Excel-lent" spreadsheet import/export
http://livecodeaddons.com/

Paul D
Posts: 116
Joined: Mon May 21, 2007 6:58 pm

Re: Script Editor causing lock up

Post by Paul D » Fri May 14, 2010 3:15 pm

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. :?

Post Reply