[erlang-questions] Calling a function when a dbg call trace is hit?
Thu May 15 13:14:22 CEST 2014
On 15 May 2014 11:08, T Ty <tty.erlang@REDACTED> wrote:
> I'm trying to understand what you mean by "It appears that all traces apply
> to all processes included in the session?"
Let me clarify:
If I set up a trace for a particular function, for all processes:
dbg:tpl(foo, bar, '_', ).
...there doesn't seem to be a way to concurrently trace _more_
functions but only for a particular process:
dbg:tpl(quux, '_', ).
...at the same time. In other words, having two dbg "sessions" active at once.
More information about the erlang-questions