Function Reference

Debugging

Entering Debug Mode

debug_on_interrupt
Query or set the internal variable that controls whether Octave will try to enter debugging mode when it receives an interrupt signal (typically generated with `C-c').
debug_on_warning
Query or set the internal variable that controls whether Octave will try to enter the debugger when a warning is encountered.
debug_on_error
Query or set the internal variable that controls whether Octave will try to enter the debugger when an error is encountered.

Leavinging Debug Mode

dbcont
In debugging mode, quit debugging mode and continue execution.
dbquit
In debugging mode, quit debugging mode and return to the top level.

Breakpoints

dbstop
Set a breakpoint in a function `func' String representing the function name.
dbstatus
Return a vector containing the lines on which a function has breakpoints set.
dbclear
Delete a breakpoint in a function `func' String representing the function name.
keyboard
This function is normally used for simple debugging.

Debug Mode

dbwhere
Show where we are in the code
dbtype
List script file with line numbers.
dbstep
In debugging mode, execute the next N lines of code.

Call Stack

dbstack
Print or return current stack information.
dbup
In debugging mode, move up the execution stack N frames.
dbdown
In debugging mode, move down the execution stack N frames.