close Warning: Can't synchronize with repository "(default)" ("(default)" is not readable or not a Git repository.). Look in the Trac log for more information.

Opened 15 years ago

#37 new enhancement

Debugger misses some variables

Reported by: Helmut Eller Owned by: somebody
Priority: minor Milestone:
Component: Core Version: 2010-02
Keywords: Cc:

Description

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.

Change History (0)

Note: See TracTickets for help on using tickets.