mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 03:30:27 +02:00
fix ,traps REPL command
* module/system/repl/command.scm (traps): Fix this REPL meta-command.
This commit is contained in:
parent
8cbcaaa0ae
commit
3e2c5f1ef3
1 changed files with 2 additions and 2 deletions
|
@ -611,11 +611,11 @@ Show the set of currently attached traps (breakpoints and tracepoints)."
|
|||
(let ((traps (list-traps)))
|
||||
(if (null? traps)
|
||||
(format #t "No traps set.~%")
|
||||
(for-each (lambda (idx name)
|
||||
(for-each (lambda (idx)
|
||||
(format #t " ~a: ~a~a~%"
|
||||
idx (trap-name idx)
|
||||
(if (trap-enabled? idx) "" " (disabled)")))
|
||||
(map car traps) (map cdr traps)))))
|
||||
traps))))
|
||||
|
||||
(define-meta-command (delete repl idx)
|
||||
"delete IDX
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue