<div dir="ltr">Hello Roger,<div><br></div><div>That is not possible to do right now. It is a limitation placed on the tracing facilities of Erlang due to performance reasons. That restriction could be lifted in the future, but it is quite difficult to do while still keeping about the same performance and memory footprint that tracing has today. </div>
<div><br></div><div>Lukas</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 15, 2014 at 1:14 PM, Roger Lipscombe <span dir="ltr"><<a href="mailto:roger@differentpla.net" target="_blank">roger@differentpla.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 15 May 2014 11:08, T Ty <<a href="mailto:tty.erlang@gmail.com">tty.erlang@gmail.com</a>> wrote:<br>
> I'm trying to understand what you mean by "It appears that all traces apply<br>
<div class="">> to all processes included in the session?"<br>
<br>
</div>Let me clarify:<br>
<br>
If I set up a trace for a particular function, for all processes:<br>
<br>
dbg:tpl(foo, bar, '_', []).<br>
dbg:p(all, c).<br>
<br>
...there doesn't seem to be a way to concurrently trace _more_<br>
functions but only for a particular process:<br>
<br>
dbg:tpl(quux, '_', []).<br>
dbg:p(pid(0,321,0), c).<br>
<br>
...at the same time. In other words, having two dbg "sessions" active at once.<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</div></div></blockquote></div><br></div>