What about advising the primitives that define functions to add debug-entry-code when a function is in debug-function-list? Would that work?
Please do not think of making any part of Emacs advise primitives. That technique should never be used, because it causes confusion. All code in Emacs that advises other parts of Emacs was installed without my knowledge. It is a bug that ought to be fixed. _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel