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: Sat, 14 Mar 2015 12:49:47 -0600 Message-ID: References: <83wq2n4i4f.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e013d14b2c085f6051144145b X-Trace: ger.gmane.org 1426359026 15195 80.91.229.3 (14 Mar 2015 18:50:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 14 Mar 2015 18:50:26 +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 Sat Mar 14 19:50:16 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 1YWr8X-0003MV-2O for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Mar 2015 19:50:13 +0100 Original-Received: from localhost ([::1]:41589 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YWr8W-00060O-KG for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Mar 2015 14:50:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58260) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YWr8R-0005w0-QA for bug-gnu-emacs@gnu.org; Sat, 14 Mar 2015 14:50:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YWr8M-0000qM-VN for bug-gnu-emacs@gnu.org; Sat, 14 Mar 2015 14:50:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48252) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YWr8M-0000pD-RV for bug-gnu-emacs@gnu.org; Sat, 14 Mar 2015 14:50:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YWr8L-0001fl-Qf for bug-gnu-emacs@gnu.org; Sat, 14 Mar 2015 14:50:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mario Valencia Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Mar 2015 18:50:01 +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.14263589916398 (code B ref 20074); Sat, 14 Mar 2015 18:50:01 +0000 Original-Received: (at 20074) by debbugs.gnu.org; 14 Mar 2015 18:49:51 +0000 Original-Received: from localhost ([127.0.0.1]:46820 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YWr8A-0001f6-Fp for submit@debbugs.gnu.org; Sat, 14 Mar 2015 14:49:51 -0400 Original-Received: from mail-la0-f51.google.com ([209.85.215.51]:34222) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YWr88-0001ew-45 for 20074@debbugs.gnu.org; Sat, 14 Mar 2015 14:49:49 -0400 Original-Received: by lagg8 with SMTP id g8so12309197lag.1 for <20074@debbugs.gnu.org>; Sat, 14 Mar 2015 11:49:47 -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=H4F3LLd6Us4kZWLfUy38A9q4TpR92lHxlmyPF/8n+xA=; b=YnsD3A3h7iFxIuy/NbpXapcBOuX186r1d8AAlmuXAoWhn8VGjGsLaozJr9tRJ8sPt9 2w43s6s3ZqdbeAbCJUjZjqkukzvCvwAdUUtP/mXIbpStRO7lKGkqlkF05GI2sx6mk5ak ToXPOieunPfsmMbfsvRYjAMogker+ha2t7Gkv0+tgtrqC6Amm4PsDW7q7Y65JYrdmp+6 L9Cq+sOSNqNCv/NxIOfGyddHis1DDHDdothapIAQgsjJ8NuL3XRdtkGm9+Rv30SL2V6o +b59O3Hu83v2U7dUF2W7l413xqXT+OX3cdnk3aAv79pFDFZsDjtb5Xpx/rLnLUGVxOyB TlHg== X-Received: by 10.152.3.42 with SMTP id 10mr47967352laz.84.1426358987161; Sat, 14 Mar 2015 11:49:47 -0700 (PDT) Original-Received: by 10.112.124.49 with HTTP; Sat, 14 Mar 2015 11:49:47 -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:100487 Archived-At: --089e013d14b2c085f6051144145b Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable The manual should have a note indicating this is unimplemented functionality, and the feature should be put in the emacs to-do list. I consider this to be high priority. Also please don't forget to include my email as a recipient for messages in this bug. 2015-03-13 3:36 GMT-06:00 Mario Valencia : > So is this going to be fixed or what? > > 2015-03-11 10:30 GMT-06:00 Mario Valencia : > > 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. The= n >>>> 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 >>>> edebug >>>> > to evaluate the 'while' expression faster. Pressing 'q', , '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? 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. >>>> >>> >>> >> > --089e013d14b2c085f6051144145b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
The manual should have a note indicating this is unimpleme= nted functionality, and the feature should be put in the emacs to-do list. = I consider this to be high priority. Also please don't forget to includ= e my email as a recipient for messages in this bug.

2015-03-13 3:36 GMT-06:00 Mario Val= encia <mariovalspi@gmail.com>:
So is this going to be fixed or what?=C2=A0
=

2015-03-11 10:30 = GMT-06:00 Mario Valencia <mariovalspi@gmail.com>:

Fr= om the manual:

While executing or tracing, you can= interrupt the execution by typing
any Edebug command.=C2=A0 Edeb= ug stops the program at the next stop point and
then executes the= command you typed.=C2=A0 For example, typing `t' during
exec= ution switches to trace mode at the next stop point.=C2=A0 You can use
`S' to stop execution without doing anything else.

=

2015-= 03-11 10:28 GMT-06:00 Mario Valencia <mariovalspi@gmail.com>:

---------- Forwarded message ----------
Fro= m: Mario Valencia <<= a href=3D"mailto:mariovalspi@gmail.com" target=3D"_blank">mariovalspi@gmail= .com>
Date: 2015-03-11 10:26 GMT-06:00
Subject: Re: bug= #20074: edebug tracing can't be stopped with 'S'
To: Eli Zar= etskii <eliz@gnu.org>


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&= 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.




--089e013d14b2c085f6051144145b--