1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-10 14:00:21 +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:
Andy Wingo 2010-01-09 21:53:04 +01:00
parent fc7648637b
commit 913ddf0574

View file

@ -367,7 +367,7 @@ With an argument, select a frame by index, then show it."
;; (state associated with vm ?)
(define (debug-pre-unwind-handler key . args)
(let ((stack (make-stack #t debug-pre-unwind-handler)))
(let ((stack (make-stack #t 2)))
(pmatch args
((,subr ,msg ,args . ,rest)
(format #t "Throw to key `~a':\n" key)