GNU bug report logs - #12685
24.2; lexical binding breaks edebug conditional breakpoints

Previous Next

Package: emacs;

Reported by: Toby Cubitt <toby-dated-1351883876.27e47e <at> dr-qubit.org>

Date: Fri, 19 Oct 2012 19:20:02 UTC

Severity: normal

Found in version 24.2

Fixed in version 24.4

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Toby Cubitt <tsc25 <at> cantab.net>
Cc: 12685 <at> debbugs.gnu.org
Subject: bug#12685: 24.2; lexical binding breaks edebug conditional breakpoints
Date: Tue, 23 Oct 2012 14:27:45 -0400
> I was asking if you knew of a good place to hook into (just in my own
> private Emacs config), so that I don't have to do this manually every
> time I want to run edebug?

You might try to add an around-advice on edebug-eval-defun (and maybe
edebug-eval-top-level-form if you use it).

> I'm well aware that this means whatever behaviour I see under edebug
> could be different from the real behaviour.  Given how rarely
> dynamical-binding differs from lexical-binding in practice, it's still a
> useful work-around for me, until edebug is fixed.

You're not addicted to closures like I am, I guess,


        Stefan




This bug report was last modified 11 years and 290 days ago.

Previous Next


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