Shutting down whatever is going on

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
aetaylorBUSBnWt
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 118
Joined: Thu Sep 20, 2012 5:11 pm

Shutting down whatever is going on

Post by aetaylorBUSBnWt » Sat Jan 07, 2023 7:27 pm

Hello,

During code development there are going to be bugs.
Change code in one section and you might not remember to fix affected code somewhere else.

Livecode's "LIVE" environment of executing code when a card gets opened creates a major mess when code that used to exist is gone or works in an unexpected way.

I have a state where I am not attempting to run anything, but the process of opening the card puts Livecode into some state where it will not display the scripts of the card - or any other card.

I just get a "watch" icon.
It is clearly executing something, but what?

I have no code windows open - if I did they are blank and none of the "run", stop executing , single step indicators are present.

Is there some way to force it to stop immediately and show me what it is attempting to execute?
THANKS.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9389
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Shutting down whatever is going on

Post by richmond62 » Sat Jan 07, 2023 7:58 pm

I think the trick is to check this:
-
SShot 2023-01-07 at 20.56.39.jpg
-
BEFORE you open your stack.

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7238
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Shutting down whatever is going on

Post by jacque » Sun Jan 08, 2023 6:04 pm

If you have the toolbar set to show icons, you can just toggle the Messages icon to turn off messages. That does the same thing as the menu item Richmond mentioned.

Another way is to put this into the message box while on a different card:

Code: Select all

lock messages;go cd "whatever" 
Or to get right to the problem:

Code: Select all

edit script of cd "whatever" 
Any of these will allow you to change the card script to edit the offending code.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Post Reply

Return to “Getting Started with LiveCode - Experienced Developers”