Navigation

Operators and Keywords

Function List:

C++ API

: dbstatus
: dbstatus func
: bp_list = dbstatus

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 and its subfunctions.

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

name

The name of the function with a breakpoint. A subfunction, say func2 within an m-file, say file.m, is specified as file>func2.

file

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

line

The line number with the breakpoint.

cond

The condition that must be satisfied for the breakpoint to be active, or the empty string for unconditional breakpoints.

If dbstop if error is true but no explicit IDs are specified, the return value will have an empty field called "errs". If IDs are specified, the errs field will have one row per ID. If dbstop if error is false, there is no "errs" field. The "warn" field is set similarly by dbstop if warning.

See also: dbstop, dbclear, dbwhere, dblist, dbstack.

Package: octave