Stack freezes lifecode when opened

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
calmrr3
Posts: 100
Joined: Mon Oct 28, 2013 2:39 pm

Stack freezes lifecode when opened

Post by calmrr3 » Mon Jan 19, 2015 9:07 pm

Hello,

I have a stack which froze due to a mistake somewhere in the script (I think).
I had to force quit livecode and now when I open the stack it freezes so I am unable to open the script editor and fix the error.

The file is 97kb
It only has 2 cards
I am on a macbook pro with 16gb ram
The file was made and opened in livecode community 7.0.1
I am able to open other stacks without any problems

Any suggestions on how I can sort this would be appreciated!

Thank you

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10057
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Stack freezes lifecode when opened

Post by FourthWorld » Mon Jan 19, 2015 9:23 pm

Sounds like there's something in an openStack, openCard, or other such handler that's causing the problem when the stack is opened.

The trick is to open it with the messages locked - run this in the Message Box:

Code: Select all

answer file "Select the troublesome stack:"; lock messages; open stack it
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

calmrr3
Posts: 100
Joined: Mon Oct 28, 2013 2:39 pm

Re: Stack freezes lifecode when opened

Post by calmrr3 » Mon Jan 19, 2015 9:57 pm

Excellent! Thank you very much

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7393
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Stack freezes lifecode when opened

Post by jacque » Tue Jan 20, 2015 7:22 pm

Or if you don't want to use the message box you can just toggle the Messages icon in the toolbar before opening the stack. That does the same thing. Don't forget to turn it back on after the stack is open.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Post Reply