[slime-devel] Inpsecting a variable in the lisp SLIME debugger

I am trying to inspect the value of a variable at a determined breakpoint. Here is my simplified code: (defun foo () (maplist (lambda (var) (break) var) '(a b c))) slime goes into debugger mode at this point. So I try to eval by pressing either the ":" or the "e" key and then I type "(car var)", but slime keeps on saying: The variable VAR is unbound. [Condition of type UNBOUND-VARIABLE] I am confused as to why it's saying this since "(break)" is within the scope of "var".

On Tue, 11 Oct 2011 11:54:28 -0700 Steve Quezadas <steve@thestever.net> wrote:
The variable VAR is unbound. [Condition of type UNBOUND-VARIABLE]
I am confused as to why it's saying this since "(break)" is within the scope of "var".
Just in case, was the code compiled using an optimize debug level of 3? -- Matt
participants (2)
-
Matthew Mondor
-
Steve Quezadas