[erlang-questions] Simple wrapper around dbg?

Garrett Smith <>
Tue Nov 6 20:58:18 CET 2012

On Tue, Nov 6, 2012 at 8:33 AM, Attila Rajmund Nohl
<> 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:



More information about the erlang-questions mailing list