| Contents | Index |
In the Editor, click
to clear
a breakpoint, or
to clear all breakpoints.
For details, see Disable and Clear Breakpoints.
dbclear all
dbclear in file
...
dbclear in file
... -completenames
dbclear if error ...
dbclear if warning ...
dbclear if naninf
dbclear if infnan
dbclear all removes all breakpoints in all MATLAB code files, as well as breakpoints set for errors, caught errors, caught error identifiers, warnings, warning identifiers, and naninf/infnan.
dbclear in file ... and dbclear in file ... -completenames formats are listed here:
| Format | Action |
|---|---|
| dbclear in file | Removes all breakpoints in file. file must be the name of a MATLAB program file, and can include a MATLAB partial path. |
| dbclear in file -completenames | If the command includes the -completenames option, then file need not be on the path, as long as it is a fully qualified file name. (On Microsoft Windows platforms, this is a file name that begins with \\ or with a drive letter followed by a colon. On UNIX platforms, this is a file name that begins with / or ~.) file can include a > to specify the path to a particular subfunction or to a nested function within a code file. |
| dbclear in file at lineno | Removes the breakpoint set at line number lineno in file. |
| dbclear in file at lineno@ | Removes the breakpoint set in the anonymous function at line number lineno in file. |
| dbclear in file at lineno@n | Removes the breakpoint set in the nth anonymous function at line number lineno in file. |
| dbclear in file at subfun | Removes all breakpoints in subfunction subfun in file. |
dbclear if error ... formats are listed here:
| Format | Action |
|---|---|
| dbclear if error | Removes the breakpoints set using the dbstop if error and dbstop if error identifier statements. |
| dbclear if error identifier | Removes the breakpoint set using dbstop if error identifier for the specified identifier. Running this produces an error if dbstop if error or dbstop if error all is set. |
| dbclear if caught error | Removes the breakpoints set using the dbstop if caught error and dbstop if caught error identifier statements. |
| dbclear if caught error identifier | Removes the breakpoints set using the dbstop if caught error identifier statement for the specified identifier. Running this produces an error if dbstop if caught error or dbstop if caught error all is set. |
dbclear if warning ... formats are listed here:
| dbclear if warning | Removes the breakpoints set using the dbstop if warning and dbstop if warning identifier statements. |
| dbclear if warning identifier | Removes the breakpoint set using dbstop if warning identifier for the specified identifier. Running this produces an error if dbstop if warning or dbstop if warning all is set. |
dbclear if naninf removes the breakpoint set by dbstop if naninf or dbstop if infnan.
dbclear if infnan removes the breakpoint set by dbstop if infnan or dbstop if naninf.
The at and in keywords are optional.
In the syntax, file can be a MATLAB program file, or the path to a function within a file. For example
dbclear in foo>myfun
clears the breakpoint at the myfun function in the file foo.m.
dbcont | dbdown | dbquit | dbstack | dbstatus | dbstep | dbstop | dbtype | dbup | filemarker
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |