blob: 26f150c7cf4ce133dc9c088f1d797c4349e72e56 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<h4 class="subsection">Miscellaneous Edebug Commands</h4> <p>Some miscellaneous Edebug commands are described here. </p> <dl compact> <dt><kbd>?</kbd></dt> <dd>
<p>Display the help message for Edebug (<code>edebug-help</code>). </p> </dd> <dt><kbd>a</kbd></dt> <dt><kbd>C-]</kbd></dt> <dd>
<p>Abort one level back to the previous command level (<code>abort-recursive-edit</code>). </p> </dd> <dt><kbd>q</kbd></dt> <dd>
<p>Return to the top level editor command loop (<code>top-level</code>). This exits all recursive editing levels, including all levels of Edebug activity. However, instrumented code protected with <code>unwind-protect</code> or <code>condition-case</code> forms may resume debugging. </p> </dd> <dt><kbd>Q</kbd></dt> <dd>
<p>Like <kbd>q</kbd>, but don’t stop even for protected code (<code>edebug-top-level-nonstop</code>). </p> </dd> <dt><kbd>r</kbd></dt> <dd>
<p>Redisplay the most recently known expression result in the echo area (<code>edebug-previous-result</code>). </p> </dd> <dt><kbd>d</kbd></dt> <dd>
<p>Display a backtrace, excluding Edebug’s own functions for clarity (<code>edebug-pop-to-backtrace</code>). </p> <p>See <a href="backtraces">Backtraces</a>, for a description of backtraces and the commands which work on them. </p> <p>If you would like to see Edebug’s functions in the backtrace, use <kbd>M-x edebug-backtrace-show-instrumentation</kbd>. To hide them again use <kbd>M-x edebug-backtrace-hide-instrumentation</kbd>. </p> <p>If a backtrace frame starts with ‘<samp>></samp>’ that means that Edebug knows where the source code for the frame is located. Use <kbd>s</kbd> to jump to the source code for the current frame. </p> <p>The backtrace buffer is killed automatically when you continue execution. </p>
</dd> </dl> <p>You can invoke commands from Edebug that activate Edebug again recursively. Whenever Edebug is active, you can quit to the top level with <kbd>q</kbd> or abort one recursive edit level with <kbd>C-]</kbd>. You can display a backtrace of all the pending evaluations with <kbd>d</kbd>. </p><div class="_attribution">
<p class="_attribution-p">
Copyright © 1990-1996, 1998-2022 Free Software Foundation, Inc. <br>Licensed under the GNU GPL license.<br>
<a href="https://www.gnu.org/software/emacs/manual/html_node/elisp/Edebug-Misc.html" class="_attribution-link">https://www.gnu.org/software/emacs/manual/html_node/elisp/Edebug-Misc.html</a>
</p>
</div>
|