Ejabberd tracing using ejabberdctl live

Hello, does anyone have any insight about the "ejabberdctl live" erlang shell. I am trying to trace the execution of ejabberd by using native Erlang tracing methods such as dbg:tracer\0 or fprof:trace\1. It seems that if i start an erlang shell using "ejabberdctl live" command, none of those functions are supported (its like the library isnt loaded). When i do the same in a normal erlang shell, they work.

Does anyone know a solution to using dbg and fprof while running ejjaberdctl live?

Error mssages:

(ejabberd@localhost)49> dbg:tracer().
** exited: {undef,[{dbg,tracer,[]},
{erl_eval,do_apply,5},
{shell,exprs,6},
{shell,eval_loop,3}]} **
(ejabberd@localhost)50>
=ERROR REPORT==== 13-May-2008::13:52:15 ===
Error in process <0.430.0> on node 'ejabberd@localhost' with exit value: {undef,[{dbg,tracer,[]},{erl_eval,do_apply,5},{shell,exprs,6},{shell,eval_loop,3}]}

You're likely to install

You're likely to install ejabberd with binary installer from process-one, which comes with a castrated erlang without dbg module. Simply dont' use binary installer.

Syndicate content