Page 1 of 1
Retrieving code from implementation
Posted: Wed Mar 02, 2011 9:23 pm
by ebie
I had an accident and a lost a file I had loaded into SBCL from my editor

.
Is it possible to retrieve the code from the still running implementation and dribble it back to a text file?
Thanks!
Re: Retrieving code from implementation
Posted: Wed Mar 02, 2011 10:59 pm
by nuntius
I don't think so. SBCL in particular does a lot of optimizations. With a less optimizing lisp, the debug info can be more helpful.
You can save the SBCL image though. Then you can reload it multiple times, incrementally trying to replace the lost code or query sbcl's memory.
Does your editor use any *~ or #*# files for backups?
For real-time help, you can query the guys on #lisp (irc.freenode.net); sbcl-devel would have better answers but a longer lag.
Re: Retrieving code from implementation
Posted: Wed Mar 02, 2011 11:20 pm
by ebie
nuntius wrote:Does your editor use any *~ or #*# files for backups?
Why yes it does.
Thanks Nuntis