dbstatus
dbstatus file
dbstatus -completenames
dbstatus file -completenames
b = dbstatus(...)
| Parameter | Description |
|---|---|
| file | Only the breakpoints of this file are listed; the error breakpoints are not included. |
| -completenames | Shows the full path of the file followed by the function name instead of the function name alone. |
| Parameter | Description |
|---|---|
| b | Structure array listing breakpoints currently in effect. |
dbstatus lists all breakpoints currently set, one line per file: Breakpoint for buggy is on line 3. or Breakpoints for buggy are on lines 2, 3., followed by the condition of each conditional breakpoint, then by Stop if error. and Stop if caught error. when these error breakpoints are set.
Assigning the output to a variable b allows you to save and restore breakpoints later using dbstop(b).
The output structure array b contains one element per file with breakpoints and one element per error breakpoint. Each element contains:
dbstop in myfile
dbstatus
dbstatus -completenames
b = dbstatus();
save saved_breakpoints b
dbclear all
load saved_breakpoints
dbstop(b)
| Version | Description |
|---|---|
| 1.16.0 | initial version |
| 2.0.0 | file filter, -completenames, seven-field structure with conditions and error breakpoints |