diff options
| author | Richard M. Stallman | 2005-03-08 03:04:48 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2005-03-08 03:04:48 +0000 |
| commit | 2634c6e41abdbdff6f61be884aa7f921e82c0885 (patch) | |
| tree | 4006f2204cce3c0cd3e7b0a2a83cf4e2a9f76746 | |
| parent | 0111d1e150de2d5e92a0cb960d4c7b650c92ea82 (diff) | |
| download | emacs-2634c6e41abdbdff6f61be884aa7f921e82c0885.tar.gz emacs-2634c6e41abdbdff6f61be884aa7f921e82c0885.zip | |
(Using Edebug): Arrow is in fringe.
(Instrumenting): Arg to eval-defun works without loading edebug.
(Edebug Execution Modes): Add xref.
| -rw-r--r-- | lispref/edebug.texi | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/lispref/edebug.texi b/lispref/edebug.texi index 835ddf91e94..e34549cccb1 100644 --- a/lispref/edebug.texi +++ b/lispref/edebug.texi | |||
| @@ -99,7 +99,7 @@ which stops execution. @xref{Edebug Execution Modes}. | |||
| 99 | the Lisp code you are debugging. This is referred to as the @dfn{source | 99 | the Lisp code you are debugging. This is referred to as the @dfn{source |
| 100 | code buffer}, and it is temporarily read-only. | 100 | code buffer}, and it is temporarily read-only. |
| 101 | 101 | ||
| 102 | An arrow at the left margin indicates the line where the function is | 102 | An arrow in the left fringe indicates the line where the function is |
| 103 | executing. Point initially shows where within the line the function is | 103 | executing. Point initially shows where within the line the function is |
| 104 | executing, but this ceases to be true if you move point yourself. | 104 | executing, but this ceases to be true if you move point yourself. |
| 105 | 105 | ||
| @@ -158,16 +158,15 @@ into it, to invoke Edebug at the proper places. | |||
| 158 | 158 | ||
| 159 | @kindex C-M-x | 159 | @kindex C-M-x |
| 160 | @findex eval-defun (Edebug) | 160 | @findex eval-defun (Edebug) |
| 161 | Once you have loaded Edebug, the command @kbd{C-M-x} | 161 | When you invoke command @kbd{C-M-x} (@code{eval-defun}) with a |
| 162 | (@code{eval-defun}) is redefined so that when invoked with a prefix | 162 | prefix argument on a function definition, it instruments the |
| 163 | argument on a definition, it instruments the definition before | 163 | definition before evaluating it. (This does not modify the source |
| 164 | evaluating it. (The source code itself is not modified.) If the | 164 | code itself.) If the variable @code{edebug-all-defs} is |
| 165 | variable @code{edebug-all-defs} is non-@code{nil}, that inverts the | 165 | non-@code{nil}, that inverts the meaning of the prefix argument: in |
| 166 | meaning of the prefix argument: in this case, @kbd{C-M-x} instruments the | 166 | this case, @kbd{C-M-x} instruments the definition @emph{unless} it has |
| 167 | definition @emph{unless} it has a prefix argument. The default value of | 167 | a prefix argument. The default value of @code{edebug-all-defs} is |
| 168 | @code{edebug-all-defs} is @code{nil}. The command @kbd{M-x | 168 | @code{nil}. The command @kbd{M-x edebug-all-defs} toggles the value |
| 169 | edebug-all-defs} toggles the value of the variable | 169 | of the variable @code{edebug-all-defs}. |
| 170 | @code{edebug-all-defs}. | ||
| 171 | 170 | ||
| 172 | @findex eval-region @r{(Edebug)} | 171 | @findex eval-region @r{(Edebug)} |
| 173 | @findex eval-current-buffer @r{(Edebug)} | 172 | @findex eval-current-buffer @r{(Edebug)} |
| @@ -302,11 +301,12 @@ executing a keyboard macro outside of Edebug does not affect commands | |||
| 302 | inside Edebug. This is usually an advantage. See also the | 301 | inside Edebug. This is usually an advantage. See also the |
| 303 | @code{edebug-continue-kbd-macro} option (@pxref{Edebug Options}). | 302 | @code{edebug-continue-kbd-macro} option (@pxref{Edebug Options}). |
| 304 | 303 | ||
| 305 | When you enter a new Edebug level, the initial execution mode comes from | 304 | When you enter a new Edebug level, the initial execution mode comes |
| 306 | the value of the variable @code{edebug-initial-mode}. By default, this | 305 | from the value of the variable @code{edebug-initial-mode}. |
| 307 | specifies step mode. Note that you may reenter the same Edebug level | 306 | (@xref{Edebug Options}.) By default, this specifies step mode. Note |
| 308 | several times if, for example, an instrumented function is called | 307 | that you may reenter the same Edebug level several times if, for |
| 309 | several times from one command. | 308 | example, an instrumented function is called several times from one |
| 309 | command. | ||
| 310 | 310 | ||
| 311 | @defopt edebug-sit-for-seconds | 311 | @defopt edebug-sit-for-seconds |
| 312 | This option specifies how many seconds to wait between execution steps | 312 | This option specifies how many seconds to wait between execution steps |