Debugging Techniques in Elixir
summary
Starts from IO.inspect then shows when to stop printing and use IEx.pry for live process shells, :debugger for breakpoint-driven inspection, and observer crash dump plus tracing to read postmortems. Demonstrates reading scheduler reduction counts (examples: ~1k then an entry with >2,000,000 reductions), diagnosing CPU hot spots, finding memory leaks from ETS tables, dynamic atoms and oversized mailboxes, connecting a standalone observer to remote nodes and adding runtime_tools to releases.
AI-written summary · about
chapters (9)
- 0:00Introduction and background
- 4:01Debugging basics in Elixir
- 8:28Interactive debugging with Pry
- 11:30Using the visual debugger
- 13:14Erlang VM and schedulers
- 17:39Identifying bottlenecks
- 20:55Tracing and crash dumps
- 22:44Remote debugging production
- 26:10Recap and learning resources
related talks
42mDebugging Ruby
31mPeeking into Ruby: Tracing Running Code
39mKeeping tabs on production
32mLove Your Crash Dumps
26mDebugging Clojure Services Under Stress
37mWhat’s happening in your Rails app? Introduction to Introspection features of Ruby
53mDebugging Go Applications
50mDebugging Node.js in Production
