Created
April 17, 2016 11:04
-
-
Save andytill/8f6a6294963d239b2f60582d61b4c9ad to your computer and use it in GitHub Desktop.
tracing process_dump
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DbgFun = fun({trace_ts, _, _event, MFA, Msg, TS}, _Acc) -> | |
io:format("XXXXXXXXXXXXXXXXXXXXXXXX ~p : ~p~n~s~n", [MFA, TS, Msg]) end. | |
dbg:tracer(process, {DbgFun, ok}). | |
dbg:tp({io,format,1}, [{'_', [], [{message,{process_dump}}, {exception_trace}]}]). | |
dbg:p(all,[c, timestamp]). | |
io:format("hi"). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment