<html lang="en"> <head> <title>Leaving Debug Mode - GNU Octave</title> <meta http-equiv="Content-Type" content="text/html"> <meta name="description" content="GNU Octave"> <meta name="generator" content="makeinfo 4.13"> <link title="Top" rel="start" href="index.html#Top"> <link rel="up" href="Debugging.html#Debugging" title="Debugging"> <link rel="prev" href="Entering-Debug-Mode.html#Entering-Debug-Mode" title="Entering Debug Mode"> <link rel="next" href="Breakpoints.html#Breakpoints" title="Breakpoints"> <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage"> <meta http-equiv="Content-Style-Type" content="text/css"> <style type="text/css"><!-- pre.display { font-family:inherit } pre.format { font-family:inherit } pre.smalldisplay { font-family:inherit; font-size:smaller } pre.smallformat { font-family:inherit; font-size:smaller } pre.smallexample { font-size:smaller } pre.smalllisp { font-size:smaller } span.sc { font-variant:small-caps } span.roman { font-family:serif; font-weight:normal; } span.sansserif { font-family:sans-serif; font-weight:normal; } --></style> </head> <body> <div class="node"> <a name="Leaving-Debug-Mode"></a> <p> Next: <a rel="next" accesskey="n" href="Breakpoints.html#Breakpoints">Breakpoints</a>, Previous: <a rel="previous" accesskey="p" href="Entering-Debug-Mode.html#Entering-Debug-Mode">Entering Debug Mode</a>, Up: <a rel="up" accesskey="u" href="Debugging.html#Debugging">Debugging</a> <hr> </div> <h3 class="section">13.2 Leaving Debug Mode</h3> <p>To leave the debug mode, use either <code>dbcont</code> or <code>return</code>. <!-- dbcont src/debug.cc --> <p><a name="doc_002ddbcont"></a> <div class="defun"> — Command: <b>dbcont</b><var><a name="index-dbcont-839"></a></var><br> <blockquote><p>Leave command-line debugging mode and continue code execution normally. <!-- Texinfo @sp should work but in practice produces ugly results for HTML. --> <!-- A simple blank line produces the correct behavior. --> <!-- @sp 1 --> <p class="noindent"><strong>See also:</strong> <a href="doc_002ddbstep.html#doc_002ddbstep">dbstep</a>, <a href="doc_002ddbquit.html#doc_002ddbquit">dbquit</a>. </p></blockquote></div> <p>To quit debug mode and return directly to the prompt <code>dbquit</code> should be used instead <!-- dbquit src/debug.cc --> <p><a name="doc_002ddbquit"></a> <div class="defun"> — Command: <b>dbquit</b><var><a name="index-dbquit-840"></a></var><br> <blockquote><p>Quit debugging mode immediately without further code execution and return to the Octave prompt. <!-- Texinfo @sp should work but in practice produces ugly results for HTML. --> <!-- A simple blank line produces the correct behavior. --> <!-- @sp 1 --> <p class="noindent"><strong>See also:</strong> <a href="doc_002ddbcont.html#doc_002ddbcont">dbcont</a>, <a href="doc_002ddbstep.html#doc_002ddbstep">dbstep</a>. </p></blockquote></div> <p>Finally, typing <code>exit</code> or <code>quit</code> at the debug prompt will result in Octave terminating normally. </body></html>