Leaving Debug Mode - GNU Octave
Description: GNU Octave

Next: Breakpoints, Previous: Entering Debug Mode, Up: Debugging

### 13.2 Leaving Debug Mode

To leave the debug mode, use either `dbcont` or `return`.

— Command: dbcont

> Leave command-line debugging mode and continue code execution normally.

> See also: dbstep, dbquit.

To quit debug mode and return directly to the prompt `dbquit` should be used instead

— Command: dbquit

> Quit debugging mode immediately without further code execution and return to the Octave prompt.

> See also: dbcont, dbstep.

Finally, typing `exit` or `quit` at the debug prompt will result in Octave terminating normally.