Page 1 of 1

Shutting down whatever is going on

Posted: Sat Jan 07, 2023 7:27 pm
by aetaylorBUSBnWt
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.

Re: Shutting down whatever is going on

Posted: Sat Jan 07, 2023 7:58 pm
by richmond62
I think the trick is to check this:
-
SShot 2023-01-07 at 20.56.39.jpg
-
BEFORE you open your stack.

Re: Shutting down whatever is going on

Posted: Sun Jan 08, 2023 6:04 pm
by jacque
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.