~/lightning

Lightning Talk: The debugging tool that comes with Erlang/OTP I just learned

Lightningat Erlang 2021 · on Thursday, 2021-08-26· [elixir-and-erlang]
slides:none on file

An overlooked built‑in per‑process ring buffer stores the last N external calls and message events and is enabled with process_flag(save_calls, N) (it’s been in OTP since R16). Query it with process_info(Pid, last_calls) or view the same list in observer and crash dumps; entries show module/function/arity tuples plus send/receive/timeout markers. Demo shows setting 32 entries returns the old value and immediately exposes a concise call trace for debugging concurrent processes.

AI-written summary · about

  1. 0:00Erlang OTP debugging tools
  2. 2:05Traditional debugging limits
  3. 3:31Debug tracing power
  4. 5:17Process flag save_calls
  5. 6:21Demo: save_calls
  6. 9:36Audience awareness
  7. 10:41Q&A
  8. 11:01OTP tools gems
~/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.