dbg question

Robert Balogh baloghrobi@REDACTED
Sat Jan 31 22:36:21 CET 2004


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@REDACTED)1>
(axd301@REDACTED)1>
(axd301@REDACTED)1>
(axd301@REDACTED)1> Pid = dbg:trace_client(ip, {"cp1-1", 4711}).
<0.37.0>
(axd301@REDACTED)2> Pid.
<0.37.0>
(axd301@REDACTED)3> dbg:stop_trace_client(Pid).

=ERROR REPORT==== 31-Jan-2004::22:34:57 ===
Error in process <0.30.0> on node 'axd301@REDACTED' 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@REDACTED)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




More information about the erlang-questions mailing list