dbg question

Robert Balogh <>
Sun Feb 1 01:39:12 CET 2004


Hi Vance,

Thanks for your advice. I check the pid, and it is true. Look:

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

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

=ERROR REPORT==== 1-Feb-2004::01:36:23 ===
Error in process <0.30.0> on node '' 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}]} **
()4>


But I can not to stop this process :-(.

Thanks four your help,

regards,
/Robi


>From: Vance Shipley <>
>To: Robert Balogh <>
>Subject: Re: dbg question
>Date: Sat, 31 Jan 2004 17:01:17 -0500
>
>Robi,
>
>Make sure the process is still there:
>
>()1> Pid = dbg:trace_client(ip, {"cp1-1", 4711}).
><0.37.0>
>()2> is_pid(Pid).
>true
>
>If it doesn't say "true" then it is gone.  If it does say true
>I don't know.
>
>	-Vance
>

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




More information about the erlang-questions mailing list