<html lang="en"> <head> <title>Call Stack - Untitled</title> <meta http-equiv="Content-Type" content="text/html"> <meta name="description" content="Untitled"> <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="Debug-Mode.html#Debug-Mode" title="Debug Mode"> <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="Call-Stack"></a> <p> Previous: <a rel="previous" accesskey="p" href="Debug-Mode.html#Debug-Mode">Debug Mode</a>, Up: <a rel="up" accesskey="u" href="Debugging.html#Debugging">Debugging</a> <hr> </div> <h3 class="section">13.5 Call Stack</h3> <!-- debug.cc --> <p><a name="doc_002ddbstack"></a> <div class="defun"> — Loadable Function: [<var>stack</var>, <var>idx</var>] <b>dbstack</b> (<var>n</var>)<var><a name="index-dbstack-704"></a></var><br> <blockquote><p>Print or return current stack information. With optional argument <var>n</var>, omit the <var>n</var> innermost stack frames. <!-- 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_002ddbclear.html#doc_002ddbclear">dbclear</a>, <a href="doc_002ddbstatus.html#doc_002ddbstatus">dbstatus</a>, <a href="doc_002ddbstop.html#doc_002ddbstop">dbstop</a>. </p></blockquote></div> <!-- debug.cc --> <p><a name="doc_002ddbup"></a> <div class="defun"> — Loadable Function: <b>dbup</b> (<var>n</var>)<var><a name="index-dbup-705"></a></var><br> <blockquote><p>In debugging mode, move up the execution stack <var>n</var> frames. If <var>n</var> is omitted, move up one frame. <!-- 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_002ddbstack.html#doc_002ddbstack">dbstack</a>. </p></blockquote></div> <!-- debug.cc --> <p><a name="doc_002ddbdown"></a> <div class="defun"> — Loadable Function: <b>dbdown</b> (<var>n</var>)<var><a name="index-dbdown-706"></a></var><br> <blockquote><p>In debugging mode, move down the execution stack <var>n</var> frames. If <var>n</var> is omitted, move down one frame. <!-- 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_002ddbstack.html#doc_002ddbstack">dbstack</a>. </p></blockquote></div> <!-- DO NOT EDIT! Generated automatically by munge-texi. --> <!-- Copyright (C) 1996, 1997, 2007, 2008, 2009 John W. Eaton --> <!-- This file is part of Octave. --> <!-- Octave is free software; you can redistribute it and/or modify it --> <!-- under the terms of the GNU General Public License as published by the --> <!-- Free Software Foundation; either version 3 of the License, or (at --> <!-- your option) any later version. --> <!-- Octave is distributed in the hope that it will be useful, but WITHOUT --> <!-- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or --> <!-- FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --> <!-- for more details. --> <!-- You should have received a copy of the GNU General Public License --> <!-- along with Octave; see the file COPYING. If not, see --> <!-- <http://www.gnu.org/licenses/>. --> </body></html>