List all breakpoints
s = dbstatus(...)
dbstatus file displays a list of the line numbers for which breakpoints are set in the specified file, where file is a MATLAB® code file function name or a MATLAB relative partial path. Each line number is a hyperlink you can click to go directly to that line in the Editor.
s = dbstatus(...) returns breakpoint information in an m-by-1 structure with the fields listed in the following table. Use this syntax to save breakpoint status and restore it at a later time using dbstop(s)—see dbstop for an example.
Full path for file containing breakpoints.
Vector of breakpoint line numbers.
Vector of integers representing the anonymous functions in the line field. For example, 2 means the second anonymous function in that line. A value of 0 means the breakpoint is at the start of the line, not in an anonymous function.
Cell vector of breakpoint conditional expression strings corresponding to lines in the line field.
Condition string ('error', 'caught error', 'warning', or 'naninf').
When cond is 'error', 'caught error', or 'warning', a cell vector of MATLAB message identifier strings for which the particular cond state is set.
Use dbstatus class/function, dbstatus private/function, or dbstatus class/private/function to determine the status for methods, private functions, or private methods (for a class named class).
In all forms you can further qualify the function name with a local function name, as in dbstatus function>localfunction.