help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: List of all functions (recursively) called by a function?


From: LanX
Subject: Re: List of all functions (recursively) called by a function?
Date: Sat, 4 Dec 2010 04:48:46 -0800 (PST)
User-agent: G2/1.0

> Any pointers?  Thanks.

I'm not sure what you really need, but elisp easily allows a kind of
monkey patching where functions can be replaced by a wrapper at *run-
time*.

So you simply need to wrap all recursively called functions with a
logger, before calling the function you want to inspect.

Look for "defadvice" and "around".


reply via email to

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