Next: Breakpoints, Previous: Entering Debug Mode, Up: Debugging [Contents][Index]

### 13.2 Leaving Debug Mode

Use either `dbcont` or `return` to leave the debug mode and continue the normal execution of the script.

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 without executing any additional code use `dbquit`.

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.