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: Elena
Subject: Re: List of all functions (recursively) called by a function?
Date: Sat, 4 Dec 2010 09:39:50 -0800 (PST)
User-agent: G2/1.0

On Dec 4, 1:48 pm, LanX <lanx.p...@googlemail.com> wrote:
> > 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.

Yes, but I was looking for a code-walker which would output all
functions called by the main function, because I would prefer not
having to track them by hand.  As I have already told, instead of
writing a code-walker, I resorted to parse the call-tree generated by
byte-compiling the main function.


reply via email to

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