emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Lisp debugger problems.


From: Lute Kamstra
Subject: Re: Lisp debugger problems.
Date: Wed, 02 Mar 2005 17:15:01 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Richard Stallman <address@hidden> writes:

>     IIRC defadvice has some support for such things (e.g. you can
>     add an advice even before the function is defined).  Maybe it'd
>     be a good idea to implement debug.el in terms of advice.
>
> Right now, the code to implement debug on entry is so simple that it
> would be a shame to use something as heavyweight as the advice
> mechanism.  However, if these new changes add a lot of complexity,
> maybe using the advice mechanism will become the simplest way.

What about advising the primitives that define functions to add
debug-entry-code when a function is in debug-function-list?  Would
that work?

Lute.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]