Next: Input and Output, Previous: Error Handling, Up: Top
Set a breakpoint in a function
func
- String representing the function name. When already in debug mode this should be left out and only the line should be given.
line
- Line you would like the breakpoint to be set on
The rline returned is the real line that the breakpoint was set at.
See also: dbclear, dbstatus, dbnext.
Delete a breakpoint in a function
No checking is done to make sure that the line you requested is really a breakpoint. If you get the wrong line nothing will happen.
func
- String representing the function name. When already in debug mode this should be left out and only the line should be given.
line
- Line where you would like to remove the the breakpoint
See also: dbstop, dbstatus, dbwhere.
Return a vector containing the lines on which a function has breakpoints set.
func
- String representing the function name. When already in debug mode this should be left out.
See also: dbclear, dbwhere.
List script file with line numbers.
See also: dbclear, dbstatus, dbstop.
If
debug_on_interrupt
is nonzero, Octave will try to enter debugging mode when it receives an interrupt signal (typically generated with C-c). If a second interrupt signal is received before reaching the debugging mode, a normal interrupt will occur. The default value is 0.