variables not shown in single stepping
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
New
|
Undecided
|
Unassigned |
Bug Description
SBCL 1.4.2 on Debian 3.16.39-1/Amd64 or SBCL 1.3.18 at Win10/Amd64 have the following issue:
;; file variables-
(declaim (optimize (speed 0) (debug 3) (safety 3) (space 0) (compilation-speed 0)))
(defun gg (y) y)
(defun ff (x)
(let ((y (+ x 1))
(z (- x 1)))
;(sb-
(break)
(list
(gg y)
(+ z y)
)))
;; EOF
The following is a procedure to reproduce:
* *features*
(:64-BIT :64-BIT-REGISTERS :ALIEN-CALLBACKS :ANSI-CL :ASH-RIGHT-VOPS
:C-STACK-
:COMPARE-
:FP-AND-
:IMMOBILE-SPACE :INLINE-CONSTANTS :INTEGER-EQL-VOP :LARGEFILE :LINKAGE-TABLE
:LINUX :LITTLE-ENDIAN :MEMORY-
:OS-PROVIDES-
:OS-PROVIDES-
:OS-PROVIDES-
:RAW-INSTANCE-
:SB-DOC :SB-EVAL :SB-FLUID :SB-FUTEX :SB-LDB :SB-PACKAGE-LOCKS :SB-SIMD-PACK
:SB-SOURCE-
:STACK-
:STACK-
:STACK-
:UNDEFINED-
* (load (compile-file "variables-
* (ff 5)
debugger invoked on a SIMPLE-CONDITION in thread
#<THREAD "main thread" RUNNING {1001E500C3}>:
break
Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.
restarts (invokable by number or by possibly-
0: [CONTINUE] Return from BREAK.
1: [ABORT ] Exit debugger, returning to top level.
(FF 5)
source: (BREAK)
0] start
; Evaluating call:
; (GG Y)
; With arguments:
; 6
1] l
X = 5
Y = 6
Z = 4
1] next
; Evaluating call:
; (+ Z Y)
; With unknown arguments
0] l
X = 5
That is the issue: Y and Z are not shown.
It might be another bug than #1274103. If we place (break) near the same place, all variables are shown.