Skip to content

Commit

Permalink
Show entire form in #?, debug output
Browse files Browse the repository at this point in the history
It is more convenient than only showing the function name.
  • Loading branch information
shirok committed Dec 23, 2024
1 parent 0758966 commit baf10fa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/gauche/vm/debugger.scm
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,11 @@
(string-length "#?,- : ")
(string-length thr-prefix)))
(cond [(debug-source-info form)
=> (^[info] (format p "#?,~a~s:~a:calling `~,,,,v:s' with args:\n"
thr-prefix (car info) (cadr info) w procname))]
=> (^[info] (format p "#?,~a~s:~a:~,,,,v:s\n"
thr-prefix (car info) (cadr info) w form))]
[else
(format p "#?,~acalling `~,,,,v:s' with args:\n"
thr-prefix w procname)])
(format p "#?,~a~,,,,v:s\n"
thr-prefix w form)])
(dolist [arg args]
(format p "#?,>~a ~,,,,v:s\n" thr-prefix w arg))
(flush p))
Expand Down

0 comments on commit baf10fa

Please sign in to comment.