[erlang-questions] Tracing ejabberd

Vlad12 vsarpe@REDACTED
Tue May 13 21:28:24 CEST 2008


Hello, 

Can anyone tell me why every time i run ejabberd on "live" mode (opens an
erlang shell at the node  ejabberd@REDACTED) it does not allow me to run
dbg or fprof functions?

shell$ ./ejabberdct live 

This is what i get if i try to run dbg:tracer(). :

(ejabberd@REDACTED)4> dbg:tracer().
** exited: {undef,[{dbg,tracer,[]},
                   {erl_eval,do_apply,5},
                   {shell,exprs,6},
                   {shell,eval_loop,3}]} **

=ERROR REPORT==== 13-May-2008::13:21:29 ===
Error in process <0.334.0> on node 'ejabberd@REDACTED' with exit value:
{undef,[{dbg,tracer,[]},{erl_eval,do_apply,5},{shell,exprs,6},{shell,eval_loop,3}]}


The error message is similar if i run fprof:trace(start). :

(ejabberd@REDACTED)9> fprof:trace(start).
{'EXIT',<0.354.0>,
        {undef,[{dbg,trace_port,[file,"fprof.trace"]},
                {fprof,open_dbg_trace_port,2},
                {fprof,handle_req,3},
                {fprof,server_loop,1}]}}

=ERROR REPORT==== 13-May-2008::13:25:53 ===
Error in process <0.354.0> on node 'ejabberd@REDACTED' with exit value:
{undef,[{dbg,trace_port,[file,"fprof.trace"]},{fprof,open_dbg_trace_port,2},{fprof,handle_req,3},{fprof,server_loop,1}]}

 Help is greatly appreciated 




-- 
View this message in context: http://www.nabble.com/Tracing-ejabberd-tp17216480p17216480.html
Sent from the Erlang Questions mailing list archive at Nabble.com.




More information about the erlang-questions mailing list