[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 2fa2c87: Make description of `edebug-initial-mode'
From: |
Alan Mackenzie |
Subject: |
[Emacs-diffs] master 2fa2c87: Make description of `edebug-initial-mode' user friendly. |
Date: |
Tue, 22 Sep 2015 12:44:24 +0000 |
branch: master
commit 2fa2c87cac834cae253a7fc6fcab280723660f74
Author: Alan Mackenzie <address@hidden>
Commit: Alan Mackenzie <address@hidden>
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.
---
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 9080bf7..e086be3 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.
In general, the execution modes earlier in the above list run the
program more slowly or stop sooner than the modes later in the list.
+When you enter a new Edebug level, Edebug will normally stop at the
+first instrumented function it encounters. If you prefer to stop only
+at a break point, or not at all (for example, when gathering coverage
+data), change the value of @code{edebug-initial-mode} from its default
address@hidden to @code{go} or @code{Go-nonstop}, or one of its other
+values (@pxref{Edebug Options}). Note that you may reenter the same
+Edebug level several times if, for example, an instrumented function
+is called several times from one command.
+
While executing or tracing, you can interrupt the execution by typing
any Edebug command. Edebug stops the program at the next stop point and
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
inside Edebug. This is usually an advantage. See also the
@code{edebug-continue-kbd-macro} option in @ref{Edebug Options}.
-When you enter a new Edebug level, the initial execution mode comes
-from the value of the variable @code{edebug-initial-mode}
-(@pxref{Edebug Options}). By default, this specifies step mode. Note
-that you may reenter the same Edebug level several times if, for
-example, an instrumented function is called several times from one
-command.
-
@defopt edebug-sit-for-seconds
This option specifies how many seconds to wait between execution steps
in trace mode or continue mode. The default is 1 second.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 2fa2c87: Make description of `edebug-initial-mode' user friendly.,
Alan Mackenzie <=