Navigation

Operators and Keywords

Function List:

C++ API

Built-in Function: dbstatus ()
Built-in Function: brk_list = dbstatus ()
Built-in Function: brk_list = dbstatus ("func")

Report the location of active breakpoints.

When called with no input or output arguments, print the list of all functions with breakpoints and the line numbers where those breakpoints are set.

If a function name func is specified then only report breakpoints for the named function.

The optional return argument brk_list is a struct array with the following fields.

name

The name of the function with a breakpoint.

file

The name of the m-file where the function code is located.

line

A line number, or vector of line numbers, with a breakpoint.

Note: When dbstatus is called from the debug prompt within a function, the list of breakpoints is automatically trimmed to the breakpoints in the current function.

See also: dbclear, dbwhere.

Package: octave