logo       

dbg question: msg#00346

lang.erlang.general

Subject: dbg question

Hi,

I have got a problem with stop_trace_client(Pid) function. I know that this function shuts down a started trace client. The Pid of this client comes from the trace_client/2 or trace_client/3 call. But it doesn't works for me. Here is what I did:

Erlang (BEAM) emulator version 5.3 [threads:0]

Eshell V5.3 (abort with ^G)
(axd301@cp1-1)1>
(axd301@cp1-1)1>
(axd301@cp1-1)1>
(axd301@cp1-1)1> Pid = dbg:trace_client(ip, {"cp1-1", 4711}).
<0.37.0>
(axd301@cp1-1)2> Pid.
<0.37.0>
(axd301@cp1-1)3> dbg:stop_trace_client(Pid).

=ERROR REPORT==== 31-Jan-2004::22:34:57 ===
Error in process <0.30.0> on node 'axd301@cp1-1' with exit value: {badarg,[{erla
ng,exit,[{badpid,<0.37.0>},abnormal]},{dbg,stop_trace_client,1},{erl_eval,do_app
ly,5},{shell,eval_loop,2}]}

** exited: {badarg,[{erlang,exit,[{badpid,<0.37.0>},abnormal]},
{dbg,stop_trace_client,1},
{erl_eval,do_apply,5},
{shell,eval_loop,2}]} **
(axd301@cp1-1)4>


What is the wrong? Can anybody help me?

thank for your help,

best regards,
/Robi

_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise