[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#38195: 27.0.50; `edebug-remove-instrumentation' doesn't work for adv
From: |
Michael Heerdegen |
Subject: |
bug#38195: 27.0.50; `edebug-remove-instrumentation' doesn't work for adviced functions |
Date: |
Fri, 15 Nov 2019 13:11:53 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Lars Ingebrigtsen <larsi@gnus.org> writes:
> Hm, I didn't think about edebugging macros, but I guess that's also
> possible? Let's see...
>
> (defmacro foo (x)
> `(+ 1 ,x))
>
> (foo 2)
>
> Yes indeed.
You don't remember all the debug specs in macro declarations? These are
all for making edebug work with these macros.
> I've now adjusted the command to also do this for macrop
> symbols.
Looks good, thanks.
> > What is the correct test here (are there even more cases to consider)?
>
> Hm... Are there more cases? There's special forms, but they can't be
> edebugged, I think? I can't recall any more function-ey things...
Autoload functions are unlikely to be edebugged. `defsubst's -- for
source code they are like normal functions (i.e. covered). So let's
assume these were all cases to consider.
Michael.
- bug#38195: 27.0.50; `edebug-remove-instrumentation' doesn't work for adviced functions, (continued)
- bug#38195: 27.0.50; `edebug-remove-instrumentation' doesn't work for adviced functions, Michael Heerdegen, 2019/11/17
- bug#38195: 27.0.50; `edebug-remove-instrumentation' doesn't work for adviced functions, Stefan Monnier, 2019/11/17
- bug#38195: 27.0.50; `edebug-remove-instrumentation' doesn't work for adviced functions, Michael Heerdegen, 2019/11/21
- bug#38195: 27.0.50; `edebug-remove-instrumentation' doesn't work for adviced functions, Michael Heerdegen, 2019/11/23
- bug#38195: 27.0.50; `edebug-remove-instrumentation' doesn't work for adviced functions, Michael Heerdegen, 2019/11/26
- bug#38195: 27.0.50; `edebug-remove-instrumentation' doesn't work for adviced functions, Lars Ingebrigtsen, 2019/11/27
bug#38195: 27.0.50; `edebug-remove-instrumentation' doesn't work for adviced functions, Michael Heerdegen, 2019/11/14