diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-03-15 17:22:30 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-03-19 15:14:08 +0100 |
commit | 2b0a370d00e72aba7385eba0fa5db2e3ca7085fb (patch) | |
tree | f331fa9246b6c2dba55e16fd6fc421cbb2d3952b /COPYING | |
parent | ec0a8661728f915c21058076327b398ac5c38bbe (diff) | |
download | patches-2b0a370d00e72aba7385eba0fa5db2e3ca7085fb.tar patches-2b0a370d00e72aba7385eba0fa5db2e3ca7085fb.tar.gz |
repl: Return stack traces along with exceptions.
* guix/repl.scm (repl-prompt): New variable.
(stack->frames): New procedure.
(send-repl-response)[frame->sexp, handle-exception]: New procedure.
Pass HANDLE-EXCEPTION as a pre-unwind handler.
(machine-repl): Define 'tag'. Bump protocol version to (0 1 1).
Wrap 'loop' call in 'call-with-prompt'.
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions