From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mario Valencia Newsgroups: gmane.emacs.bugs Subject: bug#20074: edebug tracing can't be stopped with 'S' Date: Wed, 11 Mar 2015 10:30:43 -0600 Message-ID: References: <83wq2n4i4f.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c2600eef6224051105c97f X-Trace: ger.gmane.org 1426091482 14174 80.91.229.3 (11 Mar 2015 16:31:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 11 Mar 2015 16:31:22 +0000 (UTC) To: 20074@debbugs.gnu.org, Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 11 17:31:14 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 1YVjXM-0000IQ-Ki for geb-bug-gnu-emacs@m.gmane.org; Wed, 11 Mar 2015 17:31:12 +0100 Original-Received: from localhost ([::1]:55805 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVjXM-0005zs-1t for geb-bug-gnu-emacs@m.gmane.org; Wed, 11 Mar 2015 12:31:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47068) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVjXG-0005ra-Pq for bug-gnu-emacs@gnu.org; Wed, 11 Mar 2015 12:31:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YVjXC-0001N3-F2 for bug-gnu-emacs@gnu.org; Wed, 11 Mar 2015 12:31:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44440) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVjXC-0001Mw-AO for bug-gnu-emacs@gnu.org; Wed, 11 Mar 2015 12:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YVjXC-0003Kg-3M for bug-gnu-emacs@gnu.org; Wed, 11 Mar 2015 12:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mario Valencia Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 Mar 2015 16:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20074 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20074-submit@debbugs.gnu.org id=B20074.142609145312795 (code B ref 20074); Wed, 11 Mar 2015 16:31:02 +0000 Original-Received: (at 20074) by debbugs.gnu.org; 11 Mar 2015 16:30:53 +0000 Original-Received: from localhost ([127.0.0.1]:43008 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YVjX2-0003KJ-RV for submit@debbugs.gnu.org; Wed, 11 Mar 2015 12:30:53 -0400 Original-Received: from mail-la0-f48.google.com ([209.85.215.48]:44078) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YVjWz-0003K1-PE for 20074@debbugs.gnu.org; Wed, 11 Mar 2015 12:30:50 -0400 Original-Received: by labgm9 with SMTP id gm9so9992953lab.11 for <20074@debbugs.gnu.org>; Wed, 11 Mar 2015 09:30:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=ZylpTqRLTOgjfi5Otv4fBphwD4vyiQV4GHGHCAtaQw8=; b=nxKnWPbhRCxBlPbXCD4lkAYi2oTzcLuVZ0GQb3TJcdrULnAKaKs9RfKcPu2eoK1/Y/ 6ZlJJSQaUf2SHeL6wLkgI+NvD69bVpih9cL2K/fTCB0f4+Lyf3eRurCLiNp+fNee8W5j O6ohFesdgyPbzgtuNOfWJYHMHGx58ZzERJvCM2PqecWi6gaOrCXFLtrXMlVJvc3vEli8 EgNqYT2/Eef8Rh4tsRKfy5iBCZPhUplvMvwoHPpa7dt1eHo6W/h8fUUa9UbWChYgdejy beep6cxLZGyJ1q+nx9GARJNoS+BRhk4GHYv8eK7pADwMoSo6Pf3F6GukS2fXJw98T+11 5WXg== X-Received: by 10.152.87.176 with SMTP id az16mr3091180lab.61.1426091443969; Wed, 11 Mar 2015 09:30:43 -0700 (PDT) Original-Received: by 10.112.124.49 with HTTP; Wed, 11 Mar 2015 09:30:43 -0700 (PDT) In-Reply-To: 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: 140.186.70.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:100377 Archived-At: --001a11c2600eef6224051105c97f Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable >From the manual: 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. 2015-03-11 10:28 GMT-06:00 Mario Valencia : > ---------- Forwarded message ---------- > From: Mario Valencia > Date: 2015-03-11 10:26 GMT-06:00 > Subject: Re: bug#20074: edebug tracing can't be stopped with 'S' > To: Eli Zaretskii > > > Its never worked and the manual implies it should. Even if the manual > didnt, it still should work. > El mar 11, 2015 10:24 a.m., "Eli Zaretskii" escribi=C3=B3: > > > Date: Tue, 10 Mar 2015 14:42:07 -0600 >> > From: Mario Valencia >> > >> > I start emacs with "runemacs -Q", on windows 8. >> > Then i write the following function in the scratch buffer: >> > >> > (defun forever () >> > (interactive) >> > (while t (message "doing nothing"))) >> > >> > I then press C-u C-M-x to instrument the function for debugging. Then = i >> > do M-x forever. Then i press 't' to start tracing, and edebug starts >> > tracing the code correctly. However, if i press 'S' to stop, it doesn'= t >> > work. Pressing many 'S' commands repeatedly apparently only cause edeb= ug >> > to evaluate the 'while' expression faster. Pressing 'q', , 'n', d= o >> > not seem to stop edebug either, they only appear to speed up the >> > evaluation of the code. I have to press C-g then 'q' to return me to t= he >> > toplevel. >> >> First, I see this on GNU/Linux as well, so it's not Windows-specific, >> at least. >> >> And second, did this ever work as you expect? I tried as far back as >> Emacs 23.3, and I see the same behavior. Moreover, the ELisp manual >> doesn't say anything about 'S' interrupting a trace, at least >> according to my reading. >> > > --001a11c2600eef6224051105c97f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
From the manual:

While execu= ting or tracing, you can interrupt the execution by typing
any Ed= ebug command.=C2=A0 Edebug stops the program at the next stop point and
then executes the command you typed.=C2=A0 For example, typing `t= 9; during
execution switches to trace mode at the next stop point= .=C2=A0 You can use
`S' to stop execution without doing anyth= ing else.


2015-03-11 10:28 GMT-06:00 Mario Valencia <marioval= spi@gmail.com>:
-= --------- Forwarded message ----------
From: Mario Valencia <mariovalspi@gmail.com>
Date: 2= 015-03-11 10:26 GMT-06:00
Subject: Re: bug#20074: edebug tracing can'= ;t be stopped with 'S'
To: Eli Zaretskii <eliz@gnu.org>


Its never worked and the manual implies it should. Even if the manual di= dnt, it still should work.

El mar 11, 2015 10:24 a.m., "Eli Zaretskii&= quot; <eliz@gnu.org> escribi=C3=B3:

> Date: Tue, 10 Mar 2015 14:42:07 -0600
> From: Mario Valencia <
mariovalspi@gmail.com>
>
> I start emacs with "runemacs -Q", on windows 8.
> Then i write the following function in the scratch buffer:
>
> (defun forever ()
> (interactive)
> (while t (message "doing nothing")))
>
> I then press C-u C-M-x to instrument the function for debugging. Then = i
> do M-x forever. Then i press 't' to start tracing, and edebug = starts
> tracing the code correctly. However, if i press 'S' to stop, i= t doesn't
> work. Pressing many 'S' commands repeatedly apparently only ca= use edebug
> to evaluate the 'while' expression faster. Pressing 'q'= ;, <SPC>, 'n', do
> not seem to stop edebug either, they only appear to speed up the
> evaluation of the code. I have to press C-g then 'q' to return= me to the
> toplevel.

First, I see this on GNU/Linux as well, so it's not Windows-specific, at least.

And second, did this ever work as you expect?=C2=A0 I tried as far back as<= br> Emacs 23.3, and I see the same behavior.=C2=A0 Moreover, the ELisp manual doesn't say anything about 'S' interrupting a trace, at least according to my reading.


--001a11c2600eef6224051105c97f--