Advertisement
Guest User

Untitled

a guest
Apr 20th, 2019
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Erlang 0.31 KB | None | 0 0
  1. > dbg:start().   % start dbg
  2. > dbg:tracer().  % start a simple tracer process
  3. > dbg:tp(Module, Function, Arity, []).   % specify MFA you are interested in
  4. > dbg:p(all, c).   % trace calls (c) of that MFA for all processes.
  5.  
  6. ... trace here
  7.  
  8. > dbg:stop_clear().   % stop tracer and clear effect of tp and p calls.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement