[erlang-questions] Tracing a call sequence

Joel Reymont joelr1@REDACTED
Sun Jun 10 17:43:12 CEST 2007


Folks,

How do I use the tracing facility to find out who returns  
{aborted, ...} below?

To be precise, I know that mnesia:create_table/2 is returning it but  
I'd like to dig deeper into the Mnesia call sequence to see what each  
function called returns.

     Thanks, Joel


=ERROR REPORT==== 10-Jun-2007::15:37:05 ===
Error in process <0.122.0> with exit value: {{badmatch,{aborted, 
{badarg,person,{external_copies,foo}}}},[{mnesia_meter,start,2}, 
{mnesia_meter,run,3},{mnesia_meter,go,5},{mnesia_meter,go,2}, 
{erl_eval,do_apply,5},{shell,exprs,6},{shell,eval_loop,3}]}

** exited: {{badmatch,{aborted,{badarg,person,{external_copies,foo}}}},
             [{mnesia_meter,start,2},
              {mnesia_meter,run,3},
              {mnesia_meter,go,5},
              {mnesia_meter,go,2},
              {erl_eval,do_apply,5},
              {shell,exprs,6},
              {shell,eval_loop,3}]} **

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








More information about the erlang-questions mailing list