MATLAB Function Reference |
Graphical Interface
As an alternative to the dbclear
function, there are various ways to clear breakpoints using the Editor/Debugger.
Syntax
dbclearall
dbclearin
mfile dbclearin
mfileat
lineno dbclearin
mfileat
lineno@ dbclearin
mfileat
lineno@n dbclearin
mfileat
subfun dbclearif caught error
dbclearif caught error
identifier
dbclearif error
dbclearif error
identifier
dbclearif warning
dbclearif warning
identifier
dbclearif naninf
dbclearif infnan
Description
dbclear
removes all breakpoints in all M-files, as well as breakpoints set for errors, caught errors, caught error identifiers, warnings, warning identifiers, and all
naninf/infnan
.
dbclear
removes all breakpoints in in
mfile
mfile
.
dbclear
removes the breakpoint set at line number in
mfile at
lineno
lineno
in mfile
.
dbclear
removes the breakpoint set in the anonymous function at line number in
mfile at
lineno@
lineno
in mfile
.
dbclear
removes the breakpoint set in the in
mfile at
lineno@n
n
th anonymous function at line number lineno
in mfile
.
dbclear
removes all breakpoints in subfunction in
mfile at
subfun
subfun
in mfile
.
dbclear
removes the breakpoints set using the if caught error
dbstop
if caught error
and dbstop
if caught error
identifier
statements.
dbclear
removes the breakpoints set using the if caught error
identifier
dbstop
if caught error
identifier
statement for the specified identifier. It is an error to clear this setting on a specific identifier if dbstop
if caught error
or dbstop
if caught error all
is set.
dbclear
removes the breakpoints set using the if error
dbstop
if error
and dbstop
if error
identifier
statements.
dbclear
removes the breakpoint set using if error
identifier
dbstop
if error
identifier
for the specified identifier
. It is an error to clear this setting on a specific identifier if dbstop
if error
or dbstop
if error all
is set.
dbclear
removes the breakpoints set using the if warning
dbstop
if warning
and dbstop
if warning
identifier
statements.
dbclear
removes the breakpoint set using if warning
identifier
dbstop
if warning
identifier
for the specified identifier
. It is an error to clear this setting on a specific identifier if dbstop
if warning
or dbstop
if warning all
is set.
dbclear
removes the breakpoint set by if naninf
dbstop
if naninf
.
dbclear
also removes the breakpoint set by if infnan
dbstop
if naninf
.
Remarks
The at
and in
keywords are optional.
In the syntax, mfile
can be an M-file, or the path to a function within a file. For example
clears the breakpoint at the myfun
function in the file foo.m
.
See Also
dbcont
, dbdown
, dbquit
, dbstack
, dbstatus
, dbstep
, dbstop
, dbtype
, dbup
, partialpath
datevec | dbcont |
© 1994-2005 The MathWorks, Inc.