[erlang-questions] Tracing a call sequence

Bengt Kleberg <>
Sun Jun 10 18:21:41 CEST 2007


On 2007-06-10 17:43, Joel Reymont wrote:
> Folks,
> 
> How do I use the tracing facility to find out who returns  
> {aborted, ...} below?

you can use the dbg module.


dbg:tracer().

dbg:p( all, [call] ).

dbg:tpl( mnesia_meter, dbg:fun2ms(fun(_) -> return_trace() end)).

i am guessing about mnesia_meter from oyur crash trace. it could be 
another module.


bengt
-- 
Those were the days...
    EPO guidelines 1978: "If the contribution to the known art resides
    solely in a computer program then the subject matter is not
    patentable in whatever manner it may be presented in the claims."



More information about the erlang-questions mailing list