sometimes variables are not available in the debugger, even with (debug 3)

Bug #1274103 reported by Attila Lendvai
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
SBCL
New
Undecided
Unassigned

Bug Description

take this example:

(defun test ()
  (declare (optimize (debug 3)))
  (let (foo
        bar)
    (print foo)
    (print bar)
    (setf foo 1)
    (setf bar 1)
    (break "~S" bar)))

FOO will not be visible in the debugger, only BAR.

when removing the setf, or changing it to (setf bar nil), then BAR also disappears.

in general removing anything else from the example, makes BAR disappear.

Tags: debugger
Revision history for this message
Attila Lendvai (attila-lendvai) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.