[erlang-questions] Tracing a call sequence

Joel Reymont <>
Sun Jun 10 20:00:55 CEST 2007


Where does return_trace/0 come from?

It works at the erl prompt but I get an error on return_trace when  
trying to compile my module.

./foo.erl:43: function return_trace/0 undefined

     Thanks, Joel

On Jun 10, 2007, at 5:21 PM, Bengt Kleberg wrote:

> dbg:tracer().
>
> dbg:p( all, [call] ).
>
> dbg:tpl( mnesia_meter, dbg:fun2ms(fun(_) -> return_trace() end)).

--
http://topdog.cc      - EasyLanguage to C# translator
http://wagerlabs.com  - Blog








More information about the erlang-questions mailing list