* module/system/vm/debug.scm (debugger-repl): Errors reading debugger
args no longer drop us out of the debugger.
(catch 'quit
(lambda ()
(let loop ()
- (let ((args (save-module-excursion
+ (let ((args (call-with-error-handling
(lambda ()
- (set-current-module commands)
- (read-args prompt)))))
- (apply handle args)
+ (save-module-excursion
+ (lambda ()
+ (set-current-module commands)
+ (read-args prompt))))
+ #:on-error 'pass)))
+ ;; args will be unspecified if there was a read error.
+ (if (not (unspecified? args))
+ (apply handle args))
(loop))))
(lambda (k . args)
(apply values args))))))