dbcont
dbcont resumes execution of file after pausing at a breakpoint. Execution continues until another breakpoint is encountered, a pause condition is met, an error occurs, or execution completes successfully.
Use dbcont to continue execution after examining workspace variables or debugging code.
Note: If you want to edit a file during debugging, it is recommended to first exit debug mode using dbquit to avoid unexpected behavior.
Outside a debug session, dbcont raises Debug commands only allowed when stopped in debug mode. At a stop on an uncaught error, dbcont ends the session without displaying the error again; at a stop on a caught error, execution resumes in the catch block.
function z = buggy(x)
n = length(x);
z = (1:n) / x';
end
dbstop in buggy at 2
buggy(5)
dbcont
| Version | Description |
|---|---|
| 1.16.0 | initial version |
| 2.0.0 | uniform message outside a debug session, behaviour at error stops |