Recover last session...
Moderator: Klaus
Recover last session...
Argh.. it crashed. Says it all.
-
- Livecode Opensource Backer
- Posts: 10080
- Joined: Fri Feb 19, 2010 10:17 am
Re: Recover last session...
What crashed?
What says what?
Perhaps a spot more information might elucidate things a bit so that somebody can help you.
What says what?
Perhaps a spot more information might elucidate things a bit so that somebody can help you.
Re: Recover last session...
I guess that rinwinds Livecode crashed.
However I ask myself why this should be a "Feature Request"?
However I ask myself why this should be a "Feature Request"?

Re: Recover last session...
Because it would be very nice if LC could recover the work before the crash happened...
Yeah I know about saving etc, still an autosave (and accompanying maintenance/deleting of old save files) would be welcome.
You know.. you start a new project... fiddle around, trying stuff. And then you're almost at the point thinking: hmm about time to save progress cause it happened to progress into something useful... Crash.
Yeah I know about saving etc, still an autosave (and accompanying maintenance/deleting of old save files) would be welcome.
You know.. you start a new project... fiddle around, trying stuff. And then you're almost at the point thinking: hmm about time to save progress cause it happened to progress into something useful... Crash.
Re: Recover last session...
Well, there is always:
Craig Newman
Code: Select all
on openstack
autoSave
end openstack
on autosave
save this stack
send "autoSave" to this stack in 100
end autosave
-
- VIP Livecode Opensource Backer
- Posts: 10043
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Recover last session...
Dunbar provided an auto-save script, and I believe a plugin made by a member of our community for that (SmartSave) is included in the LC install.rinzwind wrote:Because it would be very nice if LC could recover the work before the crash happened...
Yeah I know about saving etc, still an autosave (and accompanying maintenance/deleting of old save files) would be welcome.
If you need state saved in between stack file saves, the only way to do that would be for LC to continually flush its application heap to disk, difficult to do on some OSes and so disk-intensive that I'm confident it would be undesirable in practice.
Better still would be to not have the crash at all.You know.. you start a new project... fiddle around, trying stuff. And then you're almost at the point thinking: hmm about time to save progress cause it happened to progress into something useful... Crash.
Given the wide range of things our scripts ask of the LiveCode engine, overall it does a pretty good job of maintaining the cardinal rule of scripting: scripts should never be able to crash the engine. For the most part LC provides more graceful degradation through execution error messages.
That said, despite the best efforts of the developers of scripting languages, it's possible to discover ways to crash pretty much all of them.
If you have a repeatable recipe for a crash please file a bug report so it can be addressed:
http://quality.runrev.com/
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
Re: Recover last session...
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w