I often find that I want to grab a local variable in an SLDB frame but don't know how to do this. Is there a way?
thanks, -- Gary Warren King, metabang.com Cell: (413) 559 8738 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM
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?
thanks,
On Sep 15, 2008, at 10:50 AM, Gary King wrote:
I often find that I want to grab a local variable in an SLDB frame but don't know how to do this. Is there a way?
thanks,
Gary Warren King, metabang.com Cell: (413) 559 8738 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM
slime-devel site list slime-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/slime-devel
-- Gary Warren King, metabang.com Cell: (413) 559 8738 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM
Gary King gwking@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.
Gary King gwking@metabang.com writes:
I often find that I want to grab a local variable in an SLDB frame but don't know how to do this. Is there a way?
I don't know, but if you can get them into the inspector (by hitting RET while the cursor is on one, for example), M-RET will send them to the REPL for further fiddling.
Zach