Copyright © 1991,1992,1993 Daniel LaLiberte
This is edition 1.5 of the Edebug User Manual for edebug Version 3.2, September 1993.
Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies.
Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one.
Permission is granted to copy and distribute translations of this manual into another language, under the above conditions for modified versions, except that this permission notice may be stated in a translation approved by this author.
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Edebug is a source-level debugger for Emacs Lisp programs.
• Edebug | ||
1.1 Bugs and Todo List | ||
1.2 Index |
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
If you are interested in running edebug on functions in ‘edebug.el’, often it is easiest to first copy a reliable version of ‘edebug.el’ into another file, say ‘fdebug.el’, and replace all strings ‘edebug’ with ‘fdebug’, then evaluate the fdebug buffer and run fdebug on functions in the buggy ‘edebug.el’.
If there is a bug in the runtime parts of edebug, you may simply want to
set debug-on-error
to t
to get a backtrace when the error
occurs. For this to work, however, before executing code that causes
the error you will also have to set the variable edebug-debugger
to debug
rather than its default value of edebug
.
The following is a list of things I might do in the future to edebug. Often I do other things not on the list as I discover the need for them. Send me your suggestions and priorities.
There is a bug in window updating when there is both a trace buffer and an evaluation list - the source buffer doesnt get displayed.
debug-on-error
non-nil
, continuing
execution succeeds returning nil
.
max-lisp-eval-depth
and
max-specpdl-size
.
Or remember a set of buffers/windows to display inside of edebug, but we would also need the window start of each such window.
overlay-arrow-position
and -string
be buffer local?
current-local-map
instead of emacs-lisp-mode-map
(but only copy the first time after lower level command - to save time).
inhibit-quit
while edebugging?
sit-for
0 or 1 in the outside window configuration
between each edebug step.
Maybe it should be a separate option that applies to trace as well.
sit-for
time. Less than a second would be nice.
sit-for
time.
Generalize go, continue, Continue-fast to another command with argument
edebug-initial-mode
which is reset to the
original after it is used.
edebug
in your code.
edebug-step-in
command.
let
,
condition-case
, function and macro calls) to view values at that
frame. What about buffer local variables? It would be simpler to have
access to the Lisp stack.
Variables display, like the evaluation list but automatically display all local variables and values.
debug-on-next-call
. Breakpoints are done by modifying code as
well as calling backtrace-debug
for active frames.
edebug-global-break-condition
, though it is awkward.
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Jump to: | B C D E I L M P R S V |
---|
Jump to: | B C D E I L M P R S V |
---|
[Top] | [Contents] | [Index] | [ ? ] |
[Top] | [Contents] | [Index] | [ ? ] |
This document was generated on December 6, 2024 using texi2html 5.0.
The buttons in the navigation panels have the following meaning:
Button | Name | Go to | From 1.2.3 go to |
---|---|---|---|
[ << ] | FastBack | Beginning of this chapter or previous chapter | 1 |
[ < ] | Back | Previous section in reading order | 1.2.2 |
[ Up ] | Up | Up section | 1.2 |
[ > ] | Forward | Next section in reading order | 1.2.4 |
[ >> ] | FastForward | Next chapter | 2 |
[Top] | Top | Cover (top) of document | |
[Contents] | Contents | Table of contents | |
[Index] | Index | Index | |
[ ? ] | About | About (help) |
where the Example assumes that the current position is at Subsubsection One-Two-Three of a document of the following structure:
This document was generated on December 6, 2024 using texi2html 5.0.