[erlang-questions] Simple wrapper around dbg?
Garrett Smith
g@REDACTED
Tue Nov 6 20:58:18 CET 2012
On Tue, Nov 6, 2012 at 8:33 AM, Attila Rajmund Nohl
<attila.r.nohl@REDACTED> wrote:
> Hello!
>
> I can trace a function call with specific arguments with a command like this:
>
> dbg:tpl(foo, bar, dbg:fun2ms(fun([baz,_]) -> return_trace(),
> exception_trace() end)).
>
> However, it's a long to type, I'd like to have a wrapper around it.
It's very limited, but for basic tracing (modules and functions with
sensible defaults) I use e2_debug:
https://github.com/gar1t/e2/blob/master/src/e2_debug.erl
Garrett
More information about the erlang-questions
mailing list