Thursday, July 30, 2009

dbstatus

List all breakpoints

Syntax

  • dbstatus
    dbstatus function
    s = dbstatus(...)

Description

dbstatus lists all breakpoints in effect including error, warning, and naninf.

dbstatus function displays a list of the line numbers for which breakpoints are set in the specified M-file.

s = dbstatus(...) returns the breakpoint information in an m-by-1 structure with the fields


name
Function name
line
Function line number
cond
Condition string (error, warning, or naninf)

Use dbstatus class/function or 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 these forms you can further qualify the function name with a subfunction name as in dbstatus function/subfunction.

No comments:

Post a Comment