MATLAB Function Reference | Search  Help Desk |
dbstep | See Also |
Execute one or more lines from a breakpoint
dbstep dbstep nlines dbstep inThis command allows you to debug an M-file by following its execution from the current breakpoint. At a breakpoint, the
dbstep
command steps through execution of the current M-file one line at a time or at the rate specified by nlines
.
dbstep,
by itself, executes the next executable line of the current M-file. dbstep
steps over the current line, skipping any breakpoints set in functions called by that line.
dbstep nlines
executes the specified number of executable lines.
dbstep in
steps to the next executable line. If that line contains a call to another M-file, execution resumes with the first executable line of the called file. If there is no call to an M-file on that line, dbstep in
is the same as dbstep
.
dbclear
Clear breakpoints
dbcont
Resume execution
dbdown
Change local workspace context (down)
dbquit
Quit debug mode
dbstack
Display function call stack
dbstatus
List all breakpoints
dbstop
Set breakpoints in an M-file function
dbtype
List M-file with line numbers
dbup
Change local workspace context (up)