[slime-devel] Re: capture / grab local variables in SLDB - one (not very good) answer

Tobias C. Rittweiler tcr at freebits.de
Mon Sep 15 15:00:53 UTC 2008


Gary King <gwking at metabang.com> writes:

> To answer my own question, I find that I can evaluate something like
>
> (setf cl-user::*foo* <some frame variable>)
>
> to do what I want. Is there an _easier_ way?

Inspect the value, then use M-RET on the header of the inspector page
(the #<FOO {...}>.)

If you use the slime-presentations contrib, the locals are
presentations, and you can use C-c C-v C-r on them (or right-click and
select "Copy to REPL".)

HTH,

  -T.




More information about the slime-devel mailing list