[cmucl-ticket] [cmucl] #37: Debugger misses some variables
cmucl
cmucl-devel at common-lisp.net
Sun Feb 28 19:06:31 UTC 2010
#37: Debugger misses some variables
-------------------------+--------------------------------------------------
Reporter: heller | Owner: somebody
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: Core | Version: 2010-02
Keywords: |
-------------------------+--------------------------------------------------
Evaluating code like this:
{{{
(progn
(defun foo (x)
(flet ((bar () (break "x=~s" x) (print x)))
#'bar))
(compile 'foo)
(funcall (foo '(1 2 3))))
}}}
brings up the debugger:
{{{
x=(1 2 3)
[Condition of type simple-condition]
Restarts:
0: [continue] Return from BREAK.
1: [abort ] Return to Top-Level.
}}}
But list-locals doesn't show anything:
{{{
0] list-locals
All variables currently have invalid values.
0]
}}}
That's odd, since at that point the variable x is still needed by
print and so the debugger should be able to display it.
--
Ticket URL: <http://trac.common-lisp.net/cmucl/ticket/37>
cmucl <http://common-lisp.net/project/cmucl>
cmucl
More information about the cmucl-ticket
mailing list