Discussion of Common Lisp
-
ebie
- Posts: 14
- Joined: Thu Jun 11, 2009 11:11 pm
Post
by ebie » Wed Mar 02, 2011 9:23 pm
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!
-
nuntius
- Posts: 538
- Joined: Sat Aug 09, 2008 10:44 am
- Location: Newton, MA
Post
by nuntius » Wed Mar 02, 2011 10:59 pm
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.
-
ebie
- Posts: 14
- Joined: Thu Jun 11, 2009 11:11 pm
Post
by ebie » Wed Mar 02, 2011 11:20 pm
nuntius wrote:Does your editor use any *~ or #*# files for backups?
Why yes it does.
Thanks Nuntis