dbg question

Vlad Dumitrescu vlad_dumitrescu@REDACTED
Mon Feb 2 20:08:21 CET 2004


From: "Robert Balogh" <baloghrobi@REDACTED>
> 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....

Strange, it works for me:

Eshell V5.3  (abort with ^G)
(wolf@REDACTED)1> dbg:tracer(port, dbg:trace_port(ip,4711)).
{ok,<0.37.0>}
(wolf@REDACTED)2> Pid = dbg:trace_client(ip, {"burken", 4711}).
<0.40.0>
(wolf@REDACTED)3> is_process_alive(Pid).
true
(wolf@REDACTED)5> dbg:stop_trace_client(Pid).
ok

/Vlad



More information about the erlang-questions mailing list