mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-11 22:31:12 +02:00
slight tweak to stack narrowing in the debugger
* module/system/vm/debug.scm: Really narrow two frames and not by function, so it works in the evaluator.
This commit is contained in:
parent
fc7648637b
commit
913ddf0574
1 changed files with 1 additions and 1 deletions
|
@ -367,7 +367,7 @@ With an argument, select a frame by index, then show it."
|
||||||
;; (state associated with vm ?)
|
;; (state associated with vm ?)
|
||||||
|
|
||||||
(define (debug-pre-unwind-handler key . args)
|
(define (debug-pre-unwind-handler key . args)
|
||||||
(let ((stack (make-stack #t debug-pre-unwind-handler)))
|
(let ((stack (make-stack #t 2)))
|
||||||
(pmatch args
|
(pmatch args
|
||||||
((,subr ,msg ,args . ,rest)
|
((,subr ,msg ,args . ,rest)
|
||||||
(format #t "Throw to key `~a':\n" key)
|
(format #t "Throw to key `~a':\n" key)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue