[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Saving the state



Ricardo Aler Mur <aler@inf.uc3m.es> writes:
> 
> Is there any easy way in clisp to save a memory image on disk, so that
> when it is loaded again, it will start from the next instruction it was
> saved in?. Same as saveinitmem, but including information about the stack,
> etc. Just asking, I guess it would be too good to be true :). 

`saveinitmem' does save the stack to disk, but the `:init-function'
argument will probably fulfill your needs. See impnotes.html section 90.1.

If you really want to save the stack to disk, you can call (sys::debug).
This will generate a core dump :-)

                                 Bruno