Using Other Advanced Tools

We have learned how trace can be used to debug live systems with minimum impact. There are many other libraries in Erlang/OTP and in the community you can use to understand production systems. We’ll look at three Erlang tools: the :runtime_tools library, the :crash_dump viewer, and the :recon project.

Debugging with Runtime Tools

You’ve already seen one of the :runtime_tools. The :dbg module enables tracing. We only scratched the surface. The useful library also includes more advanced functionality such as:

  • An Observer backend for remote debugging. If you want to remotely analyze a production node using the Observer tool, the node must have runtime_tools running. For the details of remote observing, see this article ...

Get Adopting Elixir now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.