all messages for Emacs-related lists mirrored at yhetil.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: Wed, 11 Mar 2015 10:30:43 -0600	[thread overview]
Message-ID: <CA+3HrJU+Nm8HmNsR0rS0A+A0A4MPytEbPBcy8gHbAAAAXdpQ3w@mail.gmail.com> (raw)
In-Reply-To: <CA+3HrJWhnd6ro0+7W5DeF_f1-+t5gtgUKgiHvCu4U-dZg-Qhdg@mail.gmail.com>

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

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: 3257 bytes --]

  reply	other threads:[~2015-03-11 16:30 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 [this message]
2015-03-13  9:36         ` Mario Valencia
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

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

  git send-email \
    --in-reply-to=CA+3HrJU+Nm8HmNsR0rS0A+A0A4MPytEbPBcy8gHbAAAAXdpQ3w@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.