How to stop a running program/application in LC?

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
ValiantCuriosity
Posts: 128
Joined: Thu Jun 30, 2016 3:08 am

How to stop a running program/application in LC?

Post by ValiantCuriosity » Sun Jul 03, 2016 7:00 pm

OK, I know this is a completely ridiculous question. :shock: In fact, I'm a bit embarrassed to ask it!

However, I've searched the LC menus, the internet, the docs, the dictionary, the myriad of mixed and jumbled LC documents and can't find a simple answer. There are times when running a script in LC when there is an error. The code editor opens and the tools bar disappears. The only way that I have found to get out of the running program/application is to close LC down. When I reopen the same application, it is still running and there is still no toolbar to use to end the program. I've found some shortcut keys and tried them, but AFAIKT, none have done a thing.
i.e. Debugger:
Stop: Shift-F5
Abort:Command-

Can someone answer this question for me? I sure wish there was some consistent, solid documentation all in one place that would give up some of these LC secrets. :wink: I've never seen so much jumping around in documentation. Hoping I'll catch on eventually.

TIA in advance for your help.

-Rachel
May I never be cured of my curiosity! :D

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: How to stop a running program/application in LC?

Post by jmburnod » Sun Jul 03, 2016 7:53 pm

Hi Rachel,
if i understand you correctly i think you have to click to the blue square at the right of the green rectangle to stop debugging process.
Best regards
Jean-Marc
https://alternatic.ch

ValiantCuriosity
Posts: 128
Joined: Thu Jun 30, 2016 3:08 am

Re: How to stop a running program/application in LC?

Post by ValiantCuriosity » Sun Jul 03, 2016 8:06 pm

Jean-Marc,

I tried that and the tools bar still doesn't show. The script continues to run. Any other ideas on how to stop a script/application that is running when the tools bar isn't visible :?:

TIA,
-Rachel
May I never be cured of my curiosity! :D

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: How to stop a running program/application in LC?

Post by jmburnod » Sun Jul 03, 2016 10:36 pm

Rachel,
When you click the blue rectangle, you can close the script window and the toolbar should be visible.
https://alternatic.ch

AndyP
Posts: 634
Joined: Wed Aug 27, 2008 12:57 pm
Contact:

Re: How to stop a running program/application in LC?

Post by AndyP » Mon Jul 04, 2016 8:28 am

Hi Rachel,

It may be that you have an infinite loop running in your script which is locking you out from the normal message path?

if so you can


1. Turn the messages off on the tool bar using the envelope icon to the left of the errors icon
before you open your stack. Then open your stack and fix the loop and then turn back on messages.

2. Try shortcuts to exit a running script. Windows Ctrl + . Mac Command + .

3. If the infinite loop was the problem then its always good practice to add "with messages" within the loop which allows the exit messages to be easier trapped.

Hope this helps.
Andy .... LC CLASSIC ROCKS!

MaxV
Posts: 1580
Joined: Tue May 28, 2013 2:20 pm
Contact:

Re: How to stop a running program/application in LC?

Post by MaxV » Mon Jul 04, 2016 10:07 am

http://livecode.wikia.com/wiki/How_to_s ... able_stack

it's a pulic wiki, anybody may add other tricks.
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

ValiantCuriosity
Posts: 128
Joined: Thu Jun 30, 2016 3:08 am

Re: How to stop a running program/application in LC?

Post by ValiantCuriosity » Wed Jul 06, 2016 6:26 am

Thanks everyone for your help.

Oddly enough, when I cleaned the library -->livecode7.rev file as instructed by support in regards to another issue, this did seem to take care of the problem with the toolbar and code editor. At least, I haven't seen the error again recently. I'm keeping my fingers crossed.

-Rachel
May I never be cured of my curiosity! :D

Post Reply