From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Pogonyshev Newsgroups: gmane.emacs.bugs Subject: bug#21365: Edebug always stops when execution enters an instrumented function Date: Thu, 27 Aug 2015 22:03:12 +0200 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b3a9914f7810b051e50741a X-Trace: ger.gmane.org 1440705861 26555 80.91.229.3 (27 Aug 2015 20:04:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Aug 2015 20:04:21 +0000 (UTC) To: 21365@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 27 22:04:12 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZV3P9-0002uO-E7 for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Aug 2015 22:04:11 +0200 Original-Received: from localhost ([::1]:44445 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZV3P8-0000ED-JB for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Aug 2015 16:04:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51197) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZV3P1-0000E4-FB for bug-gnu-emacs@gnu.org; Thu, 27 Aug 2015 16:04:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZV3P0-000173-Gu for bug-gnu-emacs@gnu.org; Thu, 27 Aug 2015 16:04:03 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48386) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZV3P0-00016z-EJ for bug-gnu-emacs@gnu.org; Thu, 27 Aug 2015 16:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZV3P0-0002pQ-85 for bug-gnu-emacs@gnu.org; Thu, 27 Aug 2015 16:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Pogonyshev Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Aug 2015 20:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 21365 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.144070580110776 (code B ref -1); Thu, 27 Aug 2015 20:04:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 Aug 2015 20:03:21 +0000 Original-Received: from localhost ([127.0.0.1]:40596 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZV3OK-0002nk-Ub for submit@debbugs.gnu.org; Thu, 27 Aug 2015 16:03:21 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41047) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZV3OJ-0002na-D9 for submit@debbugs.gnu.org; Thu, 27 Aug 2015 16:03:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZV3OF-0000g2-D9 for submit@debbugs.gnu.org; Thu, 27 Aug 2015 16:03:19 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:60581) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZV3OF-0000fr-An for submit@debbugs.gnu.org; Thu, 27 Aug 2015 16:03:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51053) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZV3OE-00009g-DF for bug-gnu-emacs@gnu.org; Thu, 27 Aug 2015 16:03:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZV3OD-0000eY-4x for bug-gnu-emacs@gnu.org; Thu, 27 Aug 2015 16:03:14 -0400 Original-Received: from mail-ig0-x233.google.com ([2607:f8b0:4001:c05::233]:35472) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZV3OD-0000e5-0q for bug-gnu-emacs@gnu.org; Thu, 27 Aug 2015 16:03:13 -0400 Original-Received: by igbjg10 with SMTP id jg10so2578989igb.0 for ; Thu, 27 Aug 2015 13:03:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=0lv7NHuqoqRDuO7LVOQvkAIZkvp/euP6vVbOxZ0fjnw=; b=eWvLL6QrMv5pCGRIcsKWiS3iD0ZeLc3aGn4WHIYrlkUx9nKDgsIEfjm/SsJISZ29Tb yCyXw7MYuCb4fDYs091+Jbkvn7pV1tUnRdtx8E8BlQeyWs5FfwTv9yqHtZvlo5AI3GNd +hmaoGmz2NdFKt0/OuvaBxtZvjR5aKR/QzxjUoxdPXrZgnHdeY01LTqqydAjEBIZcECM kNSuSD3arbkFsYRPD1hgpqBE2Y7o5tTLYn6qekP3xs7bg2XrfKmofCvOC8x2b5EyBbZm GKkeCXR66lrI1yzo1ZJwrQheTWjvoZpEobTwIOzzNYW6Uyu9tunl3NEgNn/QQBS8sipJ z5ng== X-Received: by 10.50.129.5 with SMTP id ns5mr413709igb.40.1440705792145; Thu, 27 Aug 2015 13:03:12 -0700 (PDT) Original-Received: by 10.36.25.67 with HTTP; Thu, 27 Aug 2015 13:03:12 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:105892 Archived-At: --047d7b3a9914f7810b051e50741a Content-Type: text/plain; charset=UTF-8 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 --047d7b3a9914f7810b051e50741a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
This more of a feature request: make edebug stop when ente= ring such a function _optionally_.

Usecase: I want to de= bug certain function, but only when it takes specific execution route. I in= strument the function, set a breakpoint where I want to debug it. But in ad= dition to the breakpoint, edebug also pauses each time the function is ente= red and I see no way to disable it.

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

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

line (though I see it _is_ executed, if only from th= e *Messages* buffer).=C2=A0 It always stops at the beginning of the functio= n instead.

Paul

--047d7b3a9914f7810b051e50741a--