unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Mario Valencia <mariovalspi@gmail.com>
To: 20074@debbugs.gnu.org, Eli Zaretskii <eliz@gnu.org>
Subject: bug#20074: edebug tracing can't be stopped with 'S'
Date: Fri, 13 Mar 2015 03:36:09 -0600	[thread overview]
Message-ID: <CA+3HrJVfs3PRSTq1=Y-XqSbT6Exqr6LYi_AB3aPCCt94wooKYw@mail.gmail.com> (raw)
In-Reply-To: <CA+3HrJU+Nm8HmNsR0rS0A+A0A4MPytEbPBcy8gHbAAAAXdpQ3w@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2251 bytes --]

So is this going to be fixed or what?

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

> 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 <mariovalspi@gmail.com>:
>
> ---------- Forwarded message ----------
>> From: Mario Valencia <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 Zaretskii <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" <eliz@gnu.org> escribió:
>>
>> > 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, it doesn't
>>> > work. Pressing many 'S' commands repeatedly apparently only cause
>>> 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?  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.
>>>
>>
>>
>

[-- Attachment #2: Type: text/html, Size: 3669 bytes --]

  reply	other threads:[~2015-03-13  9:36 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-10 20:42 bug#20074: edebug tracing can't be stopped with 'S' Mario Valencia
2015-03-11 16:24 ` Eli Zaretskii
     [not found]   ` <CA+3HrJXsgWHQG_6zk2vNXzEaqT8w-5-cw26fkLYH0xQXmk=nSQ@mail.gmail.com>
2015-03-11 16:28     ` bug#20074: Fwd: " Mario Valencia
2015-03-11 16:30       ` Mario Valencia
2015-03-13  9:36         ` Mario Valencia [this message]
2015-03-13 10:19           ` Alexis
2015-03-13 11:07             ` Eli Zaretskii
2015-03-13 11:37               ` Alexis
2015-03-13 13:20                 ` Stefan Monnier
2015-03-13 14:02                   ` Alexis
2015-03-14 18:49           ` Mario Valencia
     [not found] ` <mailman.2024.1426359010.31049.bug-gnu-emacs@gnu.org>
2015-03-15 16:06   ` Alan Mackenzie
2015-03-15 20:36     ` Stefan Monnier
2015-03-15 21:31       ` Alan Mackenzie
     [not found] ` <mailman.2056.1426435627.31049.bug-gnu-emacs@gnu.org>
2015-03-15 19:55   ` Alan Mackenzie
2015-03-16  3:12     ` Stefan Monnier
2015-03-16 11:38       ` Alan Mackenzie
2015-03-16 13:11         ` Stefan Monnier
     [not found] ` <mailman.1823.1426020966.31049.bug-gnu-emacs@gnu.org>
2015-03-16 22:21   ` Alan Mackenzie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA+3HrJVfs3PRSTq1=Y-XqSbT6Exqr6LYi_AB3aPCCt94wooKYw@mail.gmail.com' \
    --to=mariovalspi@gmail.com \
    --cc=20074@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).