[slime-devel] calling SLIME's inspector from CL?

Tobias C Rittweiler tcr at freebits.de
Thu Jun 3 11:43:15 UTC 2010

In article <hu7mvb$q1v$1 at dough.gmane.org>,
 Tamas K Papp <tkpapp at gmail.com> wrote:

> Hi,
> Is it possible to call slime's inspector from CL?  This would come
> handy when I want to inspect a variable inside a function.  If I call
> (inspect my-variable), I get SBCL's inspector, which is not nearly as
> nice as SLIME's.
> Currently, I work around this by saving the variable (eg (defparameter
> *my-variable* my-variable)) and inspect it after the function is
> finished, but doing it directly would be nicer.
> Thanks,
> Tamas

SWANK:INSPECT-IN-EMACS. The :WAIT parameter determines
whether the function call should be waiting for you to
close the inspector buffer.

Non-waiting would be especially nice with the ability
of having multiple inspectors open at the same time which
is not currently possible. I've wanted to implement that
for the last two years (and started at some point but never
finished it.)

It's not hard. Maybe the next time I find myself annoyed
by that shortcoming.


More information about the slime-devel mailing list