From unknown Mon Jun 23 20:19:39 2025 X-Loop: help-debbugs@gnu.org Subject: bug#9764: 24.0.90; Stop tracing in Edebug Resent-From: Dani Moncayo Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Oct 2011 22:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 9764 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 9764@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.131871608229081 (code B ref -1); Sat, 15 Oct 2011 22:02:01 +0000 Received: (at submit) by debbugs.gnu.org; 15 Oct 2011 22:01:22 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RFCID-0007Z0-CE for submit@debbugs.gnu.org; Sat, 15 Oct 2011 18:01:21 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RFCIA-0007Yn-Tu for submit@debbugs.gnu.org; Sat, 15 Oct 2011 18:01:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RFCHP-0003eu-3A for submit@debbugs.gnu.org; Sat, 15 Oct 2011 18:00:32 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:51313) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RFCHP-0003eq-1i for submit@debbugs.gnu.org; Sat, 15 Oct 2011 18:00:31 -0400 Received: from eggs.gnu.org ([140.186.70.92]:43933) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RFCHM-00066o-Tw for bug-gnu-emacs@gnu.org; Sat, 15 Oct 2011 18:00:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RFCHL-0003eI-Rk for bug-gnu-emacs@gnu.org; Sat, 15 Oct 2011 18:00:28 -0400 Received: from mail-yx0-f172.google.com ([209.85.213.172]:48863) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RFCHL-0003eC-PK for bug-gnu-emacs@gnu.org; Sat, 15 Oct 2011 18:00:27 -0400 Received: by yxj19 with SMTP id 19so2225526yxj.31 for ; Sat, 15 Oct 2011 15:00:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=Omq9MX5n649uXK5vok5/z7rksWTHWnlKqiC67VvzelU=; b=etP9THNKFGql5FoLbkace6q8Zp3T7+xXKQwT1r9M27Cw2dBssMrbe3L1wXkZFEpPOL w1mbncxoX6VQe4SE8S/kq9bIouSHD9VtZ0YskIU5ds1RALZNcxOP37GNm3MTC9YFasxX JnkcrNYBWvL7u1dlYPKP9BXoaJFgdnHjWiHJ0= MIME-Version: 1.0 Received: by 10.236.176.105 with SMTP id a69mr19035251yhm.95.1318716026771; Sat, 15 Oct 2011 15:00:26 -0700 (PDT) Received: by 10.236.207.6 with HTTP; Sat, 15 Oct 2011 15:00:26 -0700 (PDT) Date: Sun, 16 Oct 2011 00:00:26 +0200 Message-ID: From: Dani Moncayo Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -4.8 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.8 (----) [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 From unknown Mon Jun 23 20:19:39 2025 X-Loop: help-debbugs@gnu.org Subject: bug#9764: 24.0.90; Stop tracing in Edebug Resent-From: Michael Heerdegen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 15 Feb 2012 02:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9764 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Dani Moncayo Cc: 9764@debbugs.gnu.org Reply-To: michael_heerdegen@web.de Received: via spool by 9764-submit@debbugs.gnu.org id=B9764.132927243117125 (code B ref 9764); Wed, 15 Feb 2012 02:21:02 +0000 Received: (at 9764) by debbugs.gnu.org; 15 Feb 2012 02:20:31 +0000 Received: from localhost ([127.0.0.1]:40815 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RxUTv-0004S9-DE for submit@debbugs.gnu.org; Tue, 14 Feb 2012 21:20:31 -0500 Received: from fmmailgate04.web.de ([217.72.192.242]:46148) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RxUTs-0004Rw-Pr for 9764@debbugs.gnu.org; Tue, 14 Feb 2012 21:20:29 -0500 Received: from moweb001.kundenserver.de (moweb001.kundenserver.de [172.19.20.114]) by fmmailgate04.web.de (Postfix) with ESMTP id 4512571A775A for <9764@debbugs.gnu.org>; Wed, 15 Feb 2012 03:18:31 +0100 (CET) Received: from snow.dragon ([89.204.139.35]) by smtp.web.de (mrweb002) with ESMTPA (Nemesis) id 0Lsy7e-1SczJX2dQI-012avw; Wed, 15 Feb 2012 03:18:30 +0100 From: Michael Heerdegen References: Date: Wed, 15 Feb 2012 03:19:51 +0100 In-Reply-To: (Dani Moncayo's message of "Sun, 16 Oct 2011 00:00:26 +0200") Message-ID: <87pqdg96t4.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V02:K0:rJbM5YUXUkz7rv4H/gCaeeeDKs/0zvCSkBv/Mth1QE2 5wgWeryWYCWs0WV+3xhu/3M1APE4LlqxM/lIG1vm+Y5Hm4HltS UDZFdgsHfPaPivXgmNQMe8+xsOtIflfOnoUHBdIqHl7Sf7cvUI LjTeSbpweON5E3W+0I0B5uEzaY0iITpNzK6815xZTxERBw3PH6 KiSIyTSdL0uPPgz1fRWRn6jk08k5fqKXdnShuh90Uc= X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Dani Moncayo 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. From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 10 18:16:37 2015 Received: (at control) by debbugs.gnu.org; 10 Mar 2015 22:16:37 +0000 Received: from localhost ([127.0.0.1]:42002 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YVSS4-0004wV-OG for submit@debbugs.gnu.org; Tue, 10 Mar 2015 18:16:37 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:47656 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YVSS2-0004wM-GZ for control@debbugs.gnu.org; Tue, 10 Mar 2015 18:16:34 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1YVSS2-0002Nh-Al for control@debbugs.gnu.org; Tue, 10 Mar 2015 18:16:34 -0400 Date: Tue, 10 Mar 2015 18:16:34 -0400 Message-Id: Subject: control message for bug 20074 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) merge 9764 20074 From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 13 05:49:01 2015 Received: (at control) by debbugs.gnu.org; 13 Mar 2015 09:49:01 +0000 Received: from localhost ([127.0.0.1]:44551 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YWMDF-0004RV-Gm for submit@debbugs.gnu.org; Fri, 13 Mar 2015 05:49:01 -0400 Received: from mail-oi0-f43.google.com ([209.85.218.43]:37504) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YWMDD-0004Qq-3S for control@debbugs.gnu.org; Fri, 13 Mar 2015 05:48:59 -0400 Received: by oiav1 with SMTP id v1so2990049oia.4 for ; Fri, 13 Mar 2015 02:48:53 -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=pKd8EyfIraPLVcpkA2uoPIx7UEB37WZ+0PweqwbQt58=; b=zsK1ESR/NSICUu6QLvR7UZMEIvrV6xHDoOSMJ3E9lWFYeAXL7fnx5vOUNhl5td96ZZ BmdT1l0fY2/eiin8mh7tuQFU26D/8VugYAHu7hpEq8tPIck1Cu09Kk2ML7C8RX8UBQFN lJmPh1wKyucJuy+UV5KuDQXkPEEOFvymlkvYlbc9stWPPtiJSxM2vd8kSXGyh3/lmGWj D7gKCkEW8Y17LpntCuUysfpEJFSc5NyzG87RTDJyI23ojsMLlHe6MLpLNFrnBXlMNTXG +1fuguB/uNKARCihzY0VoC4v2cB3YS/L9R52s2y7goqz38IZBCgdHoANJNk+Kk2nHVgr 3Gig== MIME-Version: 1.0 X-Received: by 10.182.81.98 with SMTP id z2mr37928943obx.35.1426240133548; Fri, 13 Mar 2015 02:48:53 -0700 (PDT) Received: by 10.60.54.100 with HTTP; Fri, 13 Mar 2015 02:48:53 -0700 (PDT) Date: Fri, 13 Mar 2015 10:48:53 +0100 Message-ID: Subject: forcemerge 9764 20074 From: Dani Moncayo To: control@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) forcemerge 9764 20074 stop -- Dani Moncayo