[erlang-questions] dbg

Bengt Kleberg <>
Thu Apr 4 07:11:16 CEST 2013


Greetings,

This 3:rd argument to dbg:tpl/3 (instead of []) will display the return
value:
dbg:fun2ms( fun(_)-> return_trace() end ).


bengt

On Wed, 2013-04-03 at 19:00 -0600, Brisa Jiménez wrote:
> Match specification is for evaluate function params Am I right?
> How can I get the result of a function for doing something later?
> Thanks.
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions




More information about the erlang-questions mailing list