[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#70791: 30.0.50; edebug-remove-instrumentation doesn't see instrument
From: |
Michael Heerdegen |
Subject: |
bug#70791: 30.0.50; edebug-remove-instrumentation doesn't see instrumented functions |
Date: |
Mon, 06 May 2024 21:07:52 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of
text editors" <bug-gnu-emacs@gnu.org> writes:
> > I noticed that after instrumenting a function
> > (edebug-remove-instrumentation) doesn't let you uninstrument it,
> > showing:
>
> I believe it should be fixed now on `master`. Thanks.
Works for me. Did not test extensively but simple examples
work again.
> Side note: as it is currently implemented,
> `edebug-remove-instrumentation` cannot work reliably (and the way it
> discovers the set of functions that can be un-instrumented is quite
> wasteful, tho it seems it does the job), so I recommend you `C-M-x` to
> redefine the function instead.
One important use case is the ability to deinstrument all functions at
once in a convenient way, so I think we at least want to keep some kind
of deinstrumenting function.
Thanks,
Michael.