dbg question

Robert Balogh baloghrobi@REDACTED
Mon Feb 2 12:59:06 CET 2004


Hi Bengt,

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>


thanks,
/Robi


>From: "Bengt Kleberg (AL/EAB)" <bengt.kleberg@REDACTED>
>To: erlang-questions@REDACTED
>Subject: Re: dbg question
>Date: Mon, 02 Feb 2004 10:21:32 +0100
>
>Robert Balogh wrote:
>>
>...deleted
>>How possible to start this dbg client? Do you have any idea? I read the 
>>dbg module quide about 10 times, and at this time I think I don't 
>>understand how works it :-(
>
>greetings,
>
>have you first of all done:
>
>dbg:tracer().
>
>
>bengt
>
>This communication is confidential and intended solely for the 
>addressee(s). Any unauthorized review, use, disclosure or distribution is 
>prohibited. If you believe this message has been sent to you in error, 
>please notify the sender by replying to this transmission and delete the 
>message without disclosing it. Thank you.
>
>E-mail including attachments is susceptible to data corruption, 
>interruption, unauthorized amendment, tampering and viruses, and we only 
>send and receive e-mails on the basis that we are not liable for any such 
>corruption, interception, amendment, tampering or viruses or any 
>consequences thereof.
>

_________________________________________________________________
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