GNU bug report logs -
#9764
24.0.90; Stop tracing in Edebug
Previous Next
Reported by: Dani Moncayo <dmoncayo <at> gmail.com>
Date: Sat, 15 Oct 2011 22:02:01 UTC
Severity: normal
Merged with 20074
Found in version 24.0.90
Done: Alan Mackenzie <acm <at> muc.de>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 9764 in the body.
You can then email your comments to 9764 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#9764
; Package
emacs
.
(Sat, 15 Oct 2011 22:02:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Dani Moncayo <dmoncayo <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sat, 15 Oct 2011 22:02:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[This is the first time I try Edebug, so, maybe I'm missing something].
From "emacs -Q":
1. Instrument the function [a] for Edebug ("C-u C-M-x" from the function).
2. Type "(fac 3) C-x C-e" (to begin Edebugging).
3. Type "t" (to start tracing).
4. Before the execution ends, type "S" (to stop tracing).
--> (Observed) Tracing does not stop (SPC, "n" or any other command
doesn't seem to work either).
--> (Expected) Tracing stops, as described in [b].
In GNU Emacs 24.0.90.1 (i386-mingw-nt6.1.7601)
of 2011-10-13 on DANI-PC
Windowing system distributor `Microsoft Corp.', version 6.1.7601
configured using `configure --with-gcc (4.5)'
--- Footnotes ---
[a]
(defun fac (n)
(if (< 0 n)
(* n (fac (1- n)))
1))
[b] Paragraph from (info "(elisp)Edebug Execution Modes"):
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 `t' during
execution switches to trace mode at the next stop point. You can use
`S' to stop execution without doing anything else.
--
Dani Moncayo
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#9764
; Package
emacs
.
(Wed, 15 Feb 2012 02:21:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 9764 <at> debbugs.gnu.org (full text, mbox):
Dani Moncayo <dmoncayo <at> gmail.com> writes:
> From "emacs -Q":
>
> 1. Instrument the function [a] for Edebug ("C-u C-M-x" from the function).
> 2. Type "(fac 3) C-x C-e" (to begin Edebugging).
> 3. Type "t" (to start tracing).
> 4. Before the execution ends, type "S" (to stop tracing).
> --> (Observed) Tracing does not stop (SPC, "n" or any other command
> doesn't seem to work either).
> --> (Expected) Tracing stops, as described in [b].
I tried to debug this. Have a look at `edebug-display'. The user input
"S" typically happens here:
;; not edebug-break
((eq edebug-execution-mode 'trace)
(edebug-sit-for edebug-sit-for-seconds)) ; Force update and pause.
in the `edebug-sit-for'.
The following code doesn't check for pending input.
And at the end of the defun, in the unwind clause of `unwind-protect',
`unread-command-events' gets reset to the value of
`edebug-outside-unread-command-events', canceling the user input.
HTH,
Michael.
Merged 9764 20074.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Tue, 10 Mar 2015 22:17:01 GMT)
Full text and
rfc822 format available.
Forcibly Merged 9764 20074.
Request was from
Dani Moncayo <dmoncayo <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Fri, 13 Mar 2015 09:49:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 14 Apr 2015 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 9 years and 227 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.