Page 1 of 1
Recover last session...
Posted: Tue Jan 26, 2016 1:25 pm
by rinzwind
Argh.. it crashed. Says it all.
Re: Recover last session...
Posted: Tue Jan 26, 2016 7:22 pm
by richmond62
What crashed?
What says what?
Perhaps a spot more information might elucidate things a bit so that somebody can help you.
Re: Recover last session...
Posted: Wed Jan 27, 2016 3:14 pm
by Klaus
I guess that rinwinds Livecode crashed.
However I ask myself why this should be a "Feature Request"?

Re: Recover last session...
Posted: Wed Jan 27, 2016 4:39 pm
by rinzwind
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.
Re: Recover last session...
Posted: Wed Jan 27, 2016 5:23 pm
by dunbarx
Well, there is always:
Code: Select all
on openstack
autoSave
end openstack
on autosave
save this stack
send "autoSave" to this stack in 100
end autosave
Craig Newman
Re: Recover last session...
Posted: Wed Jan 27, 2016 5:34 pm
by FourthWorld
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.
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.
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.
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.
Better still would be to not have the crash at all.
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/
Re: Recover last session...
Posted: Tue Feb 02, 2016 4:55 pm
by MaxV