summaryrefslogtreecommitdiff
path: root/doc/ref/scheme-using.texi
diff options
context:
space:
mode:
authorJose A. Ortega Ruiz <jao@gnu.org>2010-08-30 06:37:24 +0200
committerJose A. Ortega Ruiz <jao@gnu.org>2010-08-31 13:47:56 +0200
commit54d9a994b1b71024aad3d1f586de7a81bb873dbf (patch)
tree07a3af7a28ec26490166a9d627683656893192a7 /doc/ref/scheme-using.texi
parent5cc987760bc148a8c753ec2a498ed5ee783f14ec (diff)
downloadguile-54d9a994b1b71024aad3d1f586de7a81bb873dbf.tar.gz
Add new debug meta-command ,error-message
* module/system/repl/error-handling.scm: use the error string to construct the <debug> instance. * module/system/repl/command.scm: new debug command `error-message' that extracts the new <debug> field, available to stack commands as `message'. * doc/ref/scheme-using.texi: documentation for new command. * module/system/repl/debug.scm: <debug> stores the error string in a new field.
Diffstat (limited to 'doc/ref/scheme-using.texi')
-rw-r--r--doc/ref/scheme-using.texi8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/ref/scheme-using.texi b/doc/ref/scheme-using.texi
index e07b1481a..f6c2136e7 100644
--- a/doc/ref/scheme-using.texi
+++ b/doc/ref/scheme-using.texi
@@ -311,6 +311,14 @@ Show local variables.
Show locally-bound variables in the selected frame.
@end deffn
+@deffn {REPL Command} error-message
+@deffnx {REPL Command} error
+Show error message.
+
+Display the message associated with the error that started the current
+debugging REPL.
+@end deffn
+
@c FIXME: whenever we regain support for stepping, here are the docs..
@c The commands in this subsection all apply only when the stack is