diff options
| author | Alan Mackenzie | 2015-09-22 12:45:00 +0000 |
|---|---|---|
| committer | Alan Mackenzie | 2015-09-22 12:45:00 +0000 |
| commit | 2fa2c87cac834cae253a7fc6fcab280723660f74 (patch) | |
| tree | d2712ed562cee74e8b97592802dcf3a5043dee7d | |
| parent | 2e19cb4711e2869e7bb82d64b845ca8bf6fb57c8 (diff) | |
| download | emacs-2fa2c87cac834cae253a7fc6fcab280723660f74.tar.gz emacs-2fa2c87cac834cae253a7fc6fcab280723660f74.zip | |
Make description of `edebug-initial-mode' user friendly.
Fixes debbugs#21365.
dec/lispref/edebug.texi (Edebug Execution Modes): Change the
desscription
of `edebug-initial-mode' from that of its implementation to that of its
visual effect and use. Move the paragraph higher up.
| -rw-r--r-- | doc/lispref/edebug.texi | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/doc/lispref/edebug.texi b/doc/lispref/edebug.texi index 9080bf70ccf..e086be303fc 100644 --- a/doc/lispref/edebug.texi +++ b/doc/lispref/edebug.texi | |||
| @@ -281,6 +281,15 @@ can still stop the program by typing @kbd{S}, or any editing command. | |||
| 281 | In general, the execution modes earlier in the above list run the | 281 | In general, the execution modes earlier in the above list run the |
| 282 | program more slowly or stop sooner than the modes later in the list. | 282 | program more slowly or stop sooner than the modes later in the list. |
| 283 | 283 | ||
| 284 | When you enter a new Edebug level, Edebug will normally stop at the | ||
| 285 | first instrumented function it encounters. If you prefer to stop only | ||
| 286 | at a break point, or not at all (for example, when gathering coverage | ||
| 287 | data), change the value of @code{edebug-initial-mode} from its default | ||
| 288 | @code{step} to @code{go} or @code{Go-nonstop}, or one of its other | ||
| 289 | values (@pxref{Edebug Options}). Note that you may reenter the same | ||
| 290 | Edebug level several times if, for example, an instrumented function | ||
| 291 | is called several times from one command. | ||
| 292 | |||
| 284 | While executing or tracing, you can interrupt the execution by typing | 293 | While executing or tracing, you can interrupt the execution by typing |
| 285 | any Edebug command. Edebug stops the program at the next stop point and | 294 | any Edebug command. Edebug stops the program at the next stop point and |
| 286 | then executes the command you typed. For example, typing @kbd{t} during | 295 | then executes the command you typed. For example, typing @kbd{t} during |
| @@ -300,13 +309,6 @@ executing a keyboard macro outside of Edebug does not affect commands | |||
| 300 | inside Edebug. This is usually an advantage. See also the | 309 | inside Edebug. This is usually an advantage. See also the |
| 301 | @code{edebug-continue-kbd-macro} option in @ref{Edebug Options}. | 310 | @code{edebug-continue-kbd-macro} option in @ref{Edebug Options}. |
| 302 | 311 | ||
| 303 | When you enter a new Edebug level, the initial execution mode comes | ||
| 304 | from the value of the variable @code{edebug-initial-mode} | ||
| 305 | (@pxref{Edebug Options}). By default, this specifies step mode. Note | ||
| 306 | that you may reenter the same Edebug level several times if, for | ||
| 307 | example, an instrumented function is called several times from one | ||
| 308 | command. | ||
| 309 | |||
| 310 | @defopt edebug-sit-for-seconds | 312 | @defopt edebug-sit-for-seconds |
| 311 | This option specifies how many seconds to wait between execution steps | 313 | This option specifies how many seconds to wait between execution steps |
| 312 | in trace mode or continue mode. The default is 1 second. | 314 | in trace mode or continue mode. The default is 1 second. |