1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82
|
<!DOCTYPE html>
<html>
<!-- Created by GNU Texinfo 7.1.1, https://www.gnu.org/software/texinfo/ -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Leaving Debug Mode (GNU Octave (version 10.3.0))</title>
<meta name="description" content="Leaving Debug Mode (GNU Octave (version 10.3.0))">
<meta name="keywords" content="Leaving Debug Mode (GNU Octave (version 10.3.0))">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="makeinfo">
<meta name="viewport" content="width=device-width,initial-scale=1">
<link href="index.html" rel="start" title="Top">
<link href="Concept-Index.html" rel="index" title="Concept Index">
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
<link href="Debugging.html" rel="up" title="Debugging">
<link href="Breakpoints.html" rel="next" title="Breakpoints">
<link href="Entering-Debug-Mode.html" rel="prev" title="Entering Debug Mode">
<style type="text/css">
<!--
a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
span:hover a.copiable-link {visibility: visible}
strong.def-name {font-family: monospace; font-weight: bold; font-size: larger}
-->
</style>
<link rel="stylesheet" type="text/css" href="octave.css">
</head>
<body lang="en">
<div class="section-level-extent" id="Leaving-Debug-Mode">
<div class="nav-panel">
<p>
Next: <a href="Breakpoints.html" accesskey="n" rel="next">Breakpoints</a>, Previous: <a href="Entering-Debug-Mode.html" accesskey="p" rel="prev">Entering Debug Mode</a>, Up: <a href="Debugging.html" accesskey="u" rel="up">Debugging</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Concept-Index.html" title="Index" rel="index">Index</a>]</p>
</div>
<hr>
<h3 class="section" id="Leaving-Debug-Mode-1"><span>13.2 Leaving Debug Mode<a class="copiable-link" href="#Leaving-Debug-Mode-1"> ¶</a></span></h3>
<p>Use either <code class="code">dbcont</code> or <code class="code">return</code> to leave the debug mode and
continue the normal execution of the script.
</p>
<a class="anchor" id="XREFdbcont"></a><span style="display:block; margin-top:-4.5ex;"> </span>
<dl class="first-deftypefn">
<dt class="deftypefn" id="index-dbcont"><span><strong class="def-name">dbcont</strong><a class="copiable-link" href="#index-dbcont"> ¶</a></span></dt>
<dd><p>Leave command-line debugging mode and continue code execution normally.
</p>
<p><strong class="strong">See also:</strong> <a class="ref" href="Debug-Mode.html#XREFdbstep">dbstep</a>, <a class="ref" href="#XREFdbquit">dbquit</a>.
</p></dd></dl>
<p>To quit debug mode and return directly to the prompt without executing
any additional code use <code class="code">dbquit</code>.
</p>
<a class="anchor" id="XREFdbquit"></a><span style="display:block; margin-top:-4.5ex;"> </span>
<dl class="first-deftypefn">
<dt class="deftypefn" id="index-dbquit"><span><strong class="def-name">dbquit</strong><a class="copiable-link" href="#index-dbquit"> ¶</a></span></dt>
<dt class="deftypefnx def-cmd-deftypefn" id="index-dbquit-1"><span><strong class="def-name">dbquit</strong> <code class="def-code-arguments">all</code><a class="copiable-link" href="#index-dbquit-1"> ¶</a></span></dt>
<dd><p>Quit debugging mode immediately without further code execution.
</p>
<p>With no arguments, exit the current debugging level. With argument <code class="code">all</code>,
exit all debugging levels and return to the Octave prompt.
</p>
<p><strong class="strong">See also:</strong> <a class="ref" href="#XREFdbcont">dbcont</a>, <a class="ref" href="Debug-Mode.html#XREFdbstep">dbstep</a>.
</p></dd></dl>
<p>Finally, typing <code class="code">exit</code> or <code class="code">quit</code> at the debug prompt will
result in Octave terminating normally.
</p>
</div>
</body>
</html>
|