GNU bug report logs - #21365
Edebug always stops when execution enters an instrumented function

Previous Next

Package: emacs;

Reported by: Paul Pogonyshev <pogonyshev <at> gmail.com>

Date: Thu, 27 Aug 2015 20:04:02 UTC

Severity: wishlist

Done: Alan Mackenzie <acm <at> muc.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Alan Mackenzie <acm <at> muc.de>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#21365: closed (Edebug always stops when execution enters an
 instrumented function)
Date: Tue, 22 Sep 2015 12:57:03 +0000
[Message part 1 (text/plain, inline)]
Your message dated 22 Sep 2015 12:56:48 -0000
with message-id <20150922125648.99303.qmail <at> mail.muc.de>
and subject line Re: bug#21365: Edebug always stops when execution enters an instrumented	function
has caused the debbugs.gnu.org bug report #21365,
regarding Edebug always stops when execution enters an instrumented function
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
21365: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21365
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Paul Pogonyshev <pogonyshev <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Edebug always stops when execution enters an instrumented function
Date: Thu, 27 Aug 2015 22:03:12 +0200
[Message part 3 (text/plain, inline)]
This more of a feature request: make edebug stop when entering such a
function _optionally_.

Usecase: I want to debug certain function, but only when it takes specific
execution route. I instrument the function, set a breakpoint where I want
to debug it. But in addition to the breakpoint, edebug also pauses each
time the function is entered and I see no way to disable it.

In some cases this is a mere annoyance, in others it makes debugging
impossible. For example, currently I want to debug 'auto-revert-handler'
which somehow reverts buffer where both Auto Revert and Auto Revert Tail
modes are disabled. However, I can never make Edebug stop on

    (message "Reverting buffer `%s'." (buffer-name)))

line (though I see it _is_ executed, if only from the *Messages* buffer).
It always stops at the beginning of the function instead.

Paul
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: Alan Mackenzie <acm <at> muc.de>
To: 21365-done <at> debbugs.gnu.org
Cc: Paul Pogonyshev <pogonyshev <at> gmail.com>
Subject: Re: bug#21365: Edebug always stops when execution enters an
 instrumented	function
Date: 22 Sep 2015 12:56:48 -0000
> This more of a feature request: make edebug stop when entering such a
> function _optionally_.

Fixed by amending the documentation in edebug.texi in master.

-- 
Alan Mackenzie (Nuremberg, Germany).



This bug report was last modified 9 years and 246 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.