diff scripts/miscellaneous/debug.m @ 18440: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 d63878346099
children 0aa59fd7e6f1 446c46af4b42
line wrap: on
line diff
--- a/scripts/miscellaneous/debug.m
+++ b/scripts/miscellaneous/debug.m
@@ -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