[slime-devel] restart frame, return from frame

Helmut Eller e9626484 at stud3.tuwien.ac.at
Sun Jan 18 19:00:22 UTC 2004


Alan Ruttenberg <alanralanr at comcast.net> writes:

> I have checked in changes that implement this for openmcl.
> 
> sldb-return-from-frame: "reads an expression in the minibuffer and
> causes the function to return that value, evaluated in the context of
> the frame"
> 
> sldb-restart-frame:  "causes the frame to restart execution with the
> same arguments as it was called originally"
> 
> You can use these functions in an sldb buffer with cursor on the frame
> you want to restart or return from.

Very nice!

> Does this functionality exist in other lisps?

I'm pretty sure "return-from-frame" exists in SBCL, Allgero,
Lispworks, and CLISP.  It's not implemented in CMUCL/x86, but that
would be a interesting exercise.  "restart-frame" probably works only
on certain frames, but is definitely a useful command.

Helmut.




More information about the slime-devel mailing list