dbg question

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


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

** exited: {badarg,[{erlang,exit,[{badpid,<0.37.0>},abnormal]},
                    {shell,eval_loop,2}]} **

What is the wrong? Can anybody help me?

thank for your help,

best regards,

The new MSN 8: smart spam protection and 2 months FREE*  

More information about the erlang-questions mailing list