dbcont
Resume execution from a paused breakpoint.
📝Syntax
dbcont
📄Description

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.

💡Examples
Resume execution after a breakpoint in a function.
function z = buggy(x)
  n = length(x);
  z = (1:n) / x';
end

dbstop in buggy at 2
buggy(5)
dbcont
🔗See Also
dbquitdbcleardbstatusdbstopdbstep
🕔Version History
Version Description
1.16.0 initial version
Edit this page on GitHub