25 August 2006

Erlang programming: Trace function calls

To trace function calls

documentation advices to use dbg module. But it requires
some time to dig up how to really trace function calls in the system.
In practice you should do just

dbg:tracer(),
dbg:p(new, c),
dbg:tpl(module_name, [{'_',[],[{return_trace}]}])

No comments: