~/talk

Debugging Techniques in Elixir

Talkat ElixirConf 2016 · 2016-09-01..09-02· [observability]
slides:none on file

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

  1. 0:00Introduction and background
  2. 4:01Debugging basics in Elixir
  3. 8:28Interactive debugging with Pry
  4. 11:30Using the visual debugger
  5. 13:14Erlang VM and schedulers
  6. 17:39Identifying bottlenecks
  7. 20:55Tracing and crash dumps
  8. 22:44Remote debugging production
  9. 26:10Recap and learning resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.