changeset 6647:415b8b0106d0

[project @ 2007-05-22 02:57:21 by jwe]
author jwe
date Tue, 22 May 2007 02:58:56 +0000
parents bd0a70c3f2db
children 4971ff18d2d7
files doc/interpreter/debug.txi
diffstat 1 files changed, 11 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/doc/interpreter/debug.txi	Tue May 22 02:27:43 2007 +0000
+++ b/doc/interpreter/debug.txi	Tue May 22 02:58:56 2007 +0000
@@ -26,7 +26,7 @@
 @noindent
 in debug mode. However, writing the above in three lines will not be
 correctly evaluated. To leave the debug mode, you should simply type
-either @code{quit} or @code{exit}.
+either @code{quit}, @code{exit}, @code{return} or @code{dbcont}.
 
 @menu
 * Entering Debug Mode::
@@ -116,3 +116,13 @@
 @DOCSTRING(dbwhere)
 
 @DOCSTRING(dbtype)
+
+Within debug mode it is equally allows single line stepping through a
+function.  To allow this two additional commands are available;
+@code{dbstep} and @code{dbnext}.  These differ slightly in the way
+they treat the next executable line if the next line itself is a
+function defined in an m-file.
+
+@code{dbnext} will execute the next line, while staying in the existing
+function being debugged. Whereas @code{dbstep} will step in to this new
+function defined in an m-file.