Page 1 of 1

Stack freezes lifecode when opened

Posted: Mon Jan 19, 2015 9:07 pm
by calmrr3
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

Re: Stack freezes lifecode when opened

Posted: Mon Jan 19, 2015 9:23 pm
by FourthWorld
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

Re: Stack freezes lifecode when opened

Posted: Mon Jan 19, 2015 9:57 pm
by calmrr3
Excellent! Thank you very much

Re: Stack freezes lifecode when opened

Posted: Tue Jan 20, 2015 7:22 pm
by jacque
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.