Fancy tools support!

Erik Stenman Erik.Stenman@REDACTED
Wed Nov 5 12:02:04 CET 2003


 

Bjorn Gustavsson writes
> 
> Luke Gorrie <luke@REDACTED> writes:
> 
> [...]
> >   Cross referencing, e.g.
> >     %% who_calls(Module, Function, Arity) -> [{M,F,A}]
> >     %% List all the known callers of Module:Function/Arity.
> >   Simple enough - of course it can't be perfect what with 
> 'apply', but
> >   it can still be much better and more convenient than 'grep'. It's
> >   very nice to get hyperlinks to all callers of a function at the
> >   touch of a key in Emacs. (I think Thomas Lindgren has a parse
> >   transform for adding this to module_info? Jungerl it?)
> > 
> 
> That would be difficult to add, as the Erlang run-time system 
> does not keep any information about the callers to any given function.

HiPE keeps this information, but of course only for loaded functions...

/Erik




More information about the erlang-questions mailing list