EUC 2014 – Mats Cronqvist – Taking the printf out of printf Debugging

By Erlang Central | Published: June 23, 2014

Debugging a realtime system is hard, especially if the bugs only appear on a live system. Debuggers cannot be used, and printf debugging is often deemed too risky. The Erlang runtime offers a way to do on-the-fly instrumentation on the function level through the erlang:trace/3 function.
This talk will discuss the trace BIF and how to use it. It will also describe redbug, a user-friendly and safe interface to the trace BIF. War stories will in all likelihood be offered.

Talk objectives: Describe the Erlang tracing functions and how to use them.
Target audience: Developers and ops people, especially those working on large, embedded, real-time systems.