INETS-How to handle redirection
Ulf Wiger (AL/EAB)
ulf.wiger@REDACTED
Tue Sep 20 09:11:54 CEST 2005
Sanjaya Vitharana wrote:
> dbg:tracer().
> dbg:p(all, [call]).
> dbg:tpl(httpc_response, redirect, [{'_', [], [{return_trace}]}]).
>
>
> I exactly don't know how to handle above 3 commands (where
> can I found how to use the above commands?).
http://erlang.se/doc/doc-5.4.8/lib/runtime_tools-1.5.1.1/doc/html/dbg.html
or simply 'erl -man dbg'
Another way to write the tpl() command would be
dbg:tpl(httpc_response, redirect, dbg:fun2ms(fun(_) -> return_trace() end)).
/Uffe
More information about the erlang-questions
mailing list