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: Tue, 10 Mar 2015 14:42:07 -0600 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11336aba2785180510f52f1f X-Trace: ger.gmane.org 1426020974 29954 80.91.229.3 (10 Mar 2015 20:56:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 10 Mar 2015 20:56:14 +0000 (UTC) To: 20074@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 10 21:56:09 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 1YVRCC-00074Z-Kg for geb-bug-gnu-emacs@m.gmane.org; Tue, 10 Mar 2015 21:56:08 +0100 Original-Received: from localhost ([::1]:51381 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVRCC-0003GY-3k for geb-bug-gnu-emacs@m.gmane.org; Tue, 10 Mar 2015 16:56:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41125) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVRC7-0003EV-T8 for bug-gnu-emacs@gnu.org; Tue, 10 Mar 2015 16:56:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YVRC6-00012Y-AR for bug-gnu-emacs@gnu.org; Tue, 10 Mar 2015 16:56:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43396) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVRC6-00012U-7z for bug-gnu-emacs@gnu.org; Tue, 10 Mar 2015 16:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YVRC6-0002d3-2b for bug-gnu-emacs@gnu.org; Tue, 10 Mar 2015 16:56: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: Tue, 10 Mar 2015 20:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 20074 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.142602093910069 (code B ref -1); Tue, 10 Mar 2015 20:56:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Mar 2015 20:55:39 +0000 Original-Received: from localhost ([127.0.0.1]:41964 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YVRBi-0002cK-3u for submit@debbugs.gnu.org; Tue, 10 Mar 2015 16:55:39 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39176) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YVRBf-0002c4-4Q for submit@debbugs.gnu.org; Tue, 10 Mar 2015 16:55:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YVRBP-0000Us-1u for submit@debbugs.gnu.org; Tue, 10 Mar 2015 16:55:29 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:53478) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVRBO-0000Ow-WA for submit@debbugs.gnu.org; Tue, 10 Mar 2015 16:55:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38466) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVQyh-0006AS-2D for bug-gnu-emacs@gnu.org; Tue, 10 Mar 2015 16:42:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YVQyf-0003vd-M1 for bug-gnu-emacs@gnu.org; Tue, 10 Mar 2015 16:42:11 -0400 Original-Received: from mail-lb0-x22b.google.com ([2a00:1450:4010:c04::22b]:35414) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVQyf-0003vP-8t for bug-gnu-emacs@gnu.org; Tue, 10 Mar 2015 16:42:09 -0400 Original-Received: by lbjf15 with SMTP id f15so4546293lbj.2 for ; Tue, 10 Mar 2015 13:42:07 -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=NR8vquvOYe0m2BY5gHE719pZNE0IskYF2U9X3BPzoUI=; b=Nb1v962DHnKyyEyonelt3tnWp0fm17LhCEqEkEOIG9pLji+l3lBa1y8aTueHRuMhLG iXMYOkfhhTXnzF0a35YNSuh97cQ9F9wHtw2eFJLRAewIz0wkQ2OEJpDCfbNJcIfTfyaV wilqVtx5ugkEXeHLn2bNii9Q78iB3QgSH5EFf12axaLqFgA3NE6nVA6yKsN5RdnOZjts Z3r+TDhJxue3kKwyw2CEnBWOXdkU68ADtejCterPVJsdYXfBNDypoHKmDyv+6fCJawWy zH3CV/8e05bzFvxtfA4273k156Gb4d5ufBWcYYAe3K086xlSKDjqLbIaJuv1kHwCY32J 5sxQ== X-Received: by 10.112.26.209 with SMTP id n17mr26883222lbg.84.1426020127702; Tue, 10 Mar 2015 13:42:07 -0700 (PDT) Original-Received: by 10.112.124.49 with HTTP; Tue, 10 Mar 2015 13:42:07 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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:100361 Archived-At: --001a11336aba2785180510f52f1f Content-Type: text/plain; charset=UTF-8 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', , '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. In GNU Emacs 24.4.1 (i686-pc-mingw32) of 2014-10-24 on LEG570 Windowing system distributor `Microsoft Corp.', version 6.3.9600 Configured using: `configure --prefix=/c/usr' Important settings: value of $LANG: ESM locale-coding-system: cp1252 Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: ( d e f u n SPC f o r e v e r SPC ( ) ( i n t e r a c t i v e ) ( m e s s a g e SPC " d o i n t g SPC n o t h i n g " ) ) ( w h i l t e SPC t C-e ) C-u C-M-x M-x f o r e v e r t S S S S S S S S S S S S S S S S S S S S T t S c c g g g g g g g g q q q q q q q q q C-g q Recent messages: doing nothing Result: "doing nothing" doing nothing Result: "doing nothing" doing nothing Result: "doing nothing" doing nothing Result: "doing nothing" Quit Back to top level. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils edebug easymenu cl-loaddefs cl-lib time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp w32-common-fns disp-table w32-win w32-vars tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process w32notify w32 multi-tty emacs) Memory information: ((conses 8 77731 5671) (symbols 32 18075 0) (miscs 32 35 96) (strings 16 12535 3467) (string-bytes 1 339295) (vectors 8 9742) (vector-slots 4 388212 4546) (floats 8 55 244) (intervals 28 240 35) (buffers 508 11)) --001a11336aba2785180510f52f1f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I start emacs with "runemacs -Q", on window= s 8.
Then i write the following function in the scratch buffer:

(defun forever ()
=C2=A0 (interactive)
=C2=A0 (while t (message "doing nothing")))
I then press C-u C-M-x to instrument the function for debugging= .=C2=A0 Then i
do M-x forever. Then i press 't' to start = tracing, and edebug starts
tracing the code correctly. However, i= f 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', <S= PC>, '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.

<= /div>
In GNU Emacs 24.4.1 (i686-pc-mingw32)
=C2=A0of 2014-10-= 24 on LEG570
Windowing system distributor `Microsoft Corp.', = version 6.3.9600
Configured using:
=C2=A0`configure --p= refix=3D/c/usr'

Important settings:
= =C2=A0 value of $LANG: ESM
=C2=A0 locale-coding-system: cp1252

Major mode: Lisp Interaction

Minor modes in effect:
=C2=A0 tooltip-mode: t
=C2=A0 = electric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2= =A0 tool-bar-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 fil= e-name-shadow-mode: t
=C2=A0 global-font-lock-mode: t
= =C2=A0 font-lock-mode: t
=C2=A0 blink-cursor-mode: t
= =C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0 auto-compression-mode: t
=C2=A0 line-number-mode: = t
=C2=A0 transient-mark-mode: t

Recent i= nput:
( d e f u n SPC f o r e v e r SPC ( ) <return> ( i=C2= =A0
n t e r a c t i v e ) <return> ( m e s s a g e SPC=C2= =A0
" d o i n t <backspace> g SPC n o t h i n g "= ) ) <up>=C2=A0
<return> ( w h i l t <backspace>= ; e SPC t <down> <tab>=C2=A0
C-e ) C-u C-M-x M-x f o = r e v e r <return> t S S S=C2=A0
S S S S S S S S S S S S S = S S S S T t S c c g g g g=C2=A0
g g g g q q q q q q q q q C-g q &= lt;help-echo> <help-echo>=C2=A0
<help-echo> <he= lp-echo> <help-echo> <help-echo> <help-echo>=C2=A0
<menu-bar> <help-menu> <send-emacs-bug-report>

Recent messages:
doing nothing
Re= sult: "doing nothing"
doing nothing
Result: &= quot;doing nothing"
doing nothing
Result: "do= ing nothing"
doing nothing
Result: "doing not= hing"
Quit
Back to top level.

=
Load-path shadows:
None found.

Feat= ures:
(shadow sort gnus-util mail-extr emacsbug message format-sp= ec rfc822 mml
mml-sec mm-decode mm-bodies mm-encode mail-parse rf= c2231 mailabbrev
gmm-utils mailheader sendmail rfc2047 rfc2045 ie= tf-drums mm-util
help-fns mail-prsvr mail-utils edebug easymenu c= l-loaddefs cl-lib
time-date tooltip electric uniquify ediff-hook = vc-hooks lisp-float-type
mwheel dos-w32 ls-lisp w32-common-fns di= sp-table w32-win w32-vars
tool-bar dnd fontset image regexp-opt f= ringe tabulated-list newcomment
lisp-mode prog-mode register page= menu-bar rfn-eshadow timer select
scroll-bar mouse jit-lock font= -lock syntax facemenu font-core frame cham
georgian utf-8-lang mi= sc-lang vietnamese tibetan thai tai-viet lao
korean japanese hebr= ew greek romanian slovak czech european ethiopic
indian cyrillic = chinese case-table epa-hook jka-cmpr-hook help simple
abbrev mini= buffer nadvice loaddefs button faces cus-face macroexp files
text= -properties overlay sha1 md5 base64 format env code-pages mule
cu= stom widget hashtable-print-readable backquote make-network-process
w32notify w32 multi-tty emacs)

Memory informati= on:
((conses 8 77731 5671)
=C2=A0(symbols 32 18075 0)
=C2=A0(miscs 32 35 96)
=C2=A0(strings 16 12535 3467)
=C2=A0(string-bytes 1 339295)
=C2=A0(vectors 8 9742)
=
=C2=A0(vector-slots 4 388212 4546)
=C2=A0(floats 8 55 244)
=C2=A0(intervals 28 240 35)
=C2=A0(buffers 508 11))

--001a11336aba2785180510f52f1f--