[erlang-questions] tracing function calls in a given process

Joel Reymont joelr1@REDACTED
Wed Jul 27 21:35:14 CEST 2011


On Jul 27, 2011, at 8:16 PM, Vlad Dumitrescu wrote:

>    dbg:p(Pid, [all]).
> will enable all tracing, messages, function calls, the works.

I just realized what I'm doing wrong. 

I need to combine dog:p with dog:tp, then it works. 

The keywords are "according to the trace patterns".

---
c (call)
Traces global function calls for the process according to the trace patterns set in the system (see tp/2).
---

--------------------------------------------------------------------------
- for hire: mac osx device driver ninja, kernel extensions and usb drivers
---------------------+------------+---------------------------------------
http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelreymont
---------------------+------------+---------------------------------------






More information about the erlang-questions mailing list