GNU bug report logs - #40992
27.0.90; Evaluating a function while using edebug breaks

Previous Next

Package: emacs;

Reported by: Phillip Lord <phillip.lord <at> russet.org.uk>

Date: Fri, 1 May 2020 08:30:02 UTC

Severity: normal

Found in version 27.0.90

Done: Alan Mackenzie <acm <at> muc.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Phillip Lord <phillip.lord <at> russet.org.uk>
Subject: bug#40992: closed (Re: bug#40992: 27.0.90; Evaluating a function
 while using edebug breaks)
Date: Sun, 03 May 2020 12:14:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#40992: 27.0.90; Evaluating a function while using edebug breaks

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 40992 <at> debbugs.gnu.org.

-- 
40992: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=40992
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Alan Mackenzie <acm <at> muc.de>
To: 40992-done <at> debbugs.gnu.org
Subject: Re: bug#40992: 27.0.90; Evaluating a function while using edebug
 breaks
Date: Sun, 3 May 2020 12:13:31 +0000
Bug fixed in the emacs-27 branch by reverting commit

commit e8b3a15cb6ff187ce08afcb43bd9a0b7907268ca
Author: Lars Ingebrigtsen <larsi <at> gnus.org>
Date:   Sun Oct 20 12:07:42 2019 +0200

    Mark breakpoints in edebug with highlights

    * lisp/emacs-lisp/edebug.el (edebug--overlay-breakpoints)
    (edebug--overlay-breakpoints-remove): New functions (bug#23468).
    (edebug-modify-breakpoint): Use them to highlight breakpoints.
    (edebug--display-1): Restore breakpoint highlights.
    (edebug--recursive-edit): Remove highlights on exit.

-- 
Alan Mackenzie (Nuremberg, Germany).

[Message part 3 (message/rfc822, inline)]
From: Phillip Lord <phillip.lord <at> russet.org.uk>
To: bug-gnu-emacs <at> gnu.org
Subject: 27.0.90; Evaluating a function while using edebug breaks
Date: Fri, 01 May 2020 09:26:44 +0100
Edebug fails while tracing a function, if that function is evaluated
during the edebug session. The error reported is:

Wrong type argument: listp, #<marker at 4045 in hanoi.el>
edebug--display-1: Wrong type argument: listp, #<marker at 4045 in hanoi.el>

This is a regression as it works in Emacs-26, but fails in Emacs-27.

Reproduction:

In clean emacs -q

M-x hanoi
jump to hanoi function
C-u C-M-x
M-x hanoi

After stepping through into hanoi with point still in

C-M-x

and step once more.


I use this workflow quite a lot when debugging. I may start to debug a
function, decided I have seen enough, to un-instrument so I don't see it
debugged again.



This bug report was last modified 5 years and 65 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.