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
: dbquit all

Quit debugging mode immediately without further code execution.

With no arguments, exit the current debugging level. With argument all, exit all debugging levels 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.