[erlang-questions] Get call trace from function

Serge Aleynikov serge@REDACTED
Fri Feb 16 13:42:19 CET 2007


Another convenience add-on is to extend the shell commands to accomplish 
the same:

http://www.erlang.org/pipermail/erlang-questions/2006-September/022750.html

Regards,

Serge

Ulf Wiger (TN/EAB) wrote:
>>Bengt Kleberg wrote:
>>(*) dbg:ctlr( Module, Function, []) would give the return 
>>trace of dbg:tpl( Module, Function, [{'_', [], [{return_trace}]}])
> 
> 
> That would be convenient.
> 
> I alternate between the clumsy tpl() version above and
> dbg:tpl(Module,Function,dbg:fun2ms(fun(_) -> return_trace() end)),
> 
> which is 10 chars longer, but at least has fewer brackets in it.
> 
> Either way, it's a pain to have to write that much for something
> so useful.
> 
> BR,
> Ulf W
> 
> 
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
> 



More information about the erlang-questions mailing list