changeset 18372:765520694992 stable

doc: Add dblist to list of commands from 'help debug'. * debug.m: Add dblist to list of commands.
author Rik <rik@octave.org>
date Fri, 24 Jan 2014 11:58:04 -0800
parents ac664a250eab
children 97984c1c41f0
files scripts/miscellaneous/debug.m
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/miscellaneous/debug.m	Fri Jan 24 20:31:33 2014 +0100
+++ b/scripts/miscellaneous/debug.m	Fri Jan 24 11:58:04 2014 -0800
@@ -37,9 +37,13 @@
 ## Report the current file and line number where execution is stopped.
 ##
 ## @item dbtype
-## List the function where execution is currently stopped, enumerating
+## Display the code of the function being debugged, enumerating
 ## the line numbers.
 ##
+## @item dblist
+## List 10 lines of code centered around the line number where execution is
+## stopped.
+##
 ## @item  dbstep
 ## @itemx dbnext
 ## Execute (step) one or more lines, follow execution into (step into) a