[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#12685: 24.2; lexical binding breaks edebug conditional breakpoints
From: |
Stefan Monnier |
Subject: |
bug#12685: 24.2; lexical binding breaks edebug conditional breakpoints |
Date: |
Mon, 05 Aug 2013 13:27:11 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> 4. Evaluate lexical variable from within edebug: "M-: arg <ret>"
> -> backtrace buffer with "Debugger entered--Lisp error: (void-variable arg)"
That's because you use M-:. If you want to run your code within the
context of the debugged program, you need to use `e'.
> 3'. Create conditional breakpoint in `test': "C-x X x (null arg) <ret>"
> 4'. Evaluate `test': "M-: (test 3)"
> -> message "Symbol's value as variable is void: arg"
Aha, that OTOH should work, indeed. I'll get back to you when I fix it,
Stefan