How to rebuild corrupted stack ?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
How to rebuild corrupted stack ?
What is the best way to rebuild a copy of a corrupted stack?
My stack has just started renaming its objects with my variables (perhaps Globals) and renaming my variables in scripts as well.
My stack has just started renaming its objects with my variables (perhaps Globals) and renaming my variables in scripts as well.
-
- VIP Livecode Opensource Backer
- Posts: 9852
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: How to rebuild corrupted stack ?
Stack file corruption of extremely rare in LiveCode.
From the description it sounds like you have an errant script in there somewhere. Rebuilding the stack still just reproduce the error.
What action triggers the renaming? We can probably help diagnose to pinpoint the root cause.
From the description it sounds like you have an errant script in there somewhere. Rebuilding the stack still just reproduce the error.
What action triggers the renaming? We can probably help diagnose to pinpoint the root cause.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- VIP Livecode Opensource Backer
- Posts: 9738
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: How to rebuild corrupted stack ?
What Richard said.
A corrupted stack (rare) generally does not load at all. It is not typically one that misbehaves in the sense that it has stopped "working" properly, and started to "work" improperly.
Can you comment out large portions of your scripts and handlers, and see what happens? If you have to comment everything, then do so. Then start enabling them one by one, and again see what happens.
Craig
A corrupted stack (rare) generally does not load at all. It is not typically one that misbehaves in the sense that it has stopped "working" properly, and started to "work" improperly.
Can you comment out large portions of your scripts and handlers, and see what happens? If you have to comment everything, then do so. Then start enabling them one by one, and again see what happens.
Craig
-
- VIP Livecode Opensource Backer
- Posts: 3581
- Joined: Mon Jan 22, 2007 7:36 am
- Location: Berkeley, CA, US
- Contact:
Re: How to rebuild corrupted stack ?
Also... from the Development menu select "Suppress Messages", *then* load your stack.
PowerDebug http://powerdebug.ahsoftware.net
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
Re: How to rebuild corrupted stack ?
Thank-you all!
Will do.
Would a bad system bus allow a line of script to just die, while the compiler is happily purring away, now with mis-matched calls/responses?
Will do.
Would a bad system bus allow a line of script to just die, while the compiler is happily purring away, now with mis-matched calls/responses?
Re: How to rebuild corrupted stack ?
To me it seems more probable there is something in your code renaming objects rather than this being a corruption of some kind...
I would set a breakpoint at a relevant point and then step through the code to see at what point the objects are renamed to the name of your variables.
HTH
Stam
-
- VIP Livecode Opensource Backer
- Posts: 9738
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: How to rebuild corrupted stack ?
Perhaps Stam is suggesting that you do a comprehensive search for "set the name" in the SE?
Craig
Craig
-
- VIP Livecode Opensource Backer
- Posts: 9852
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: How to rebuild corrupted stack ?
What is a "bad system bus"?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- VIP Livecode Opensource Backer
- Posts: 9738
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: How to rebuild corrupted stack ?
And I thought Americans were silly.
Craig
Craig
Re: How to rebuild corrupted stack ?
You guys were right; LC didn't corrupt my stack.
BTW, the concept of "bus" was more than adequately captured in a Beatles' album.
BTW, the concept of "bus" was more than adequately captured in a Beatles' album.
-
- VIP Livecode Opensource Backer
- Posts: 9738
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: How to rebuild corrupted stack ?
And even better from the Firesign Theater.BTW, the concept of "bus" was more than adequately captured in a Beatles' album.
Craig
-
- VIP Livecode Opensource Backer
- Posts: 9738
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: How to rebuild corrupted stack ?
So, er, what was it?You guys were right; LC didn't corrupt my stack.
Craig