dbg question

Robert Balogh baloghrobi@REDACTED
Mon Feb 2 16:47:16 CET 2004


Hi Vlad,

I already tried it, but unfortunatelly it has same behavior...it is not 
possible to stop the client process, beacuese it is never started (???). But 
I really don't understand why say "ok,Pid" result when I create the cleint. 
I think I have a big mistake now....
I already read the documentation, but...it is not enough...for me :-(

I did that, what is in the documentation in the dbg side step-by-step, but 
it doesn't works for me...:-(((

thanks a lot for your advice,

regards,
/Robi


>From: "Vlad Dumitrescu" <vlad_dumitrescu@REDACTED>
>To: <erlang-questions@REDACTED>
>Subject: Re: dbg question
>Date: Mon, 2 Feb 2004 13:48:58 +0100
>
>Hi,
>
>I think the dbg:tracer must be started with something like this:
>
>     dbg:tracer(port, dbg:trace_port(ip,4711)).
>
>(see the documentation)
>
>/Vlad
>
> > I think the dbg:tracer(). is start the dbg server, but I'd like to start
> > only the dbg client. But I did what you advice to me. Please see the
> > resulst. It is same what I had before.
> > I don't know how possible to start the dbg client. :-((
> >
> > Any other idea....??
> >
> > Erlang (BEAM) emulator version 5.3 [threads:0]
> >
> > Eshell V5.3  (abort with ^G)
> > (axd301@REDACTED)1> dbg:tracer().
> > {ok,<0.37.0>}
> > (axd301@REDACTED)2> Pid = dbg:trace_client(ip, {"cp1-1", 4711}).
> > <0.40.0>
> > (axd301@REDACTED)3> is_pid(Pid).
> > true
> > (axd301@REDACTED)4> is_process_alive(Pid).
> > false
> > (axd301@REDACTED)5> dbg:stop
> > stop/0               stop_clear/0         stop_trace_client/1
> >
> > (axd301@REDACTED)5> dbg:stop_trace_client(Pid).
> >
> > =ERROR REPORT==== 2-Feb-2004::12:53:03 ===
> > Error in process <0.30.0> on node 'axd301@REDACTED' with exit value:
> > {badarg,[{erla
> >
>ng,exit,[{badpid,<0.40.0>},abnormal]},{dbg,stop_trace_client,1},{erl_eval,do_app
> > ly,5},{shell,eval_loop,2}]}
> >
> > ** exited: {badarg,[{erlang,exit,[{badpid,<0.40.0>},abnormal]},
> >                     {dbg,stop_trace_client,1},
> >                     {erl_eval,do_apply,5},
> >                     {shell,eval_loop,2}]} **
> > (axd301@REDACTED)6>
> >

_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
http://join.msn.com/?page=features/junkmail




More information about the erlang-questions mailing list