[erlang-questions] tracing non exported functions

Wallentin Dahlberg <>
Sun Jun 13 03:04:34 CEST 2010

erlang:trace_pattern/3 will do what you ask. Use option "local" or "meta".


2010/6/12 Filipe David Manana <>

> Hello,
> Recently I've been playing with erlang:trace_pattern. Its documentation
> says
> it works only for exported functions.
> Is there any other BIFs that would allow me to have the same functionality
> but to trace non-exported functions as well? (in the same way as
> trace_pattern and trace)
> cheers
> --
> Filipe David Manana,
> "Reasonable men adapt themselves to the world.
> Unreasonable men adapt the world to themselves.
> That's why all progress depends on unreasonable men."

More information about the erlang-questions mailing list