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
dbclearall in
mfile dbclearin
mfile dbclearin
mfileat
lineno dbclearin
mfileat
subfun dbclearif error
dbclearif warning
dbclearif naninf
dbclearif infnan
Description
dbclear
removes all breakpoints in all M-files, as well as pauses set for error, warning, and all
naninf/infnan
using dbstop
.
dbclear
removes breakpoints in all in
mfile
mfile
.
dbclear
removes the breakpoint set at the first executable line in in
mfile
mfile
.
dbclear
removes the breakpoint set at the line number in
mfile at
lineno
lineno
in mfile
.
dbclear
removes the breakpoint set at the subfunction in
mfile at
subfun
subfun
in mfile
.
dbclear
removes the pause set using if error
dbstop
if error
.
dbclear
removes the pause set using if warning
dbstop
if warning
.
dbclear
removes the pause set using if naninf
dbstop
if naninf
.
dbclear
removes the pause set using if infnan
dbstop
if infnan
.
Remarks
The at
, in
, and if
keywords, familiar to users of the UNIX debugger dbx, are optional.
See Also
dbcont
, dbdown
, dbquit
, dbstack
, dbstatus
, dbstep
, dbstop
, dbtype
, dbup
, partialpath
![]() | datevec | dbcont | ![]() |