~/talk

Post-Mortem Debugging in Node.js

Talkat JS Fest 2019 Spring · on Thursday, 2019-04-04· [nodejs, observability]
slides:none on file

Shows how to capture and analyze a Linux or macOS core dump to inspect live JS state, using llnode with lldb and V8 helpers to get JS stacks, object contents and surprising counts like 235000 visit objects that reveal leaks. Demonstrates generating dumps from a running PID, using node’s built‑in report (from Node.js 11.8) and writeHeapSnapshot to load snapshots into Chrome DevTools, and mentions an llnode JavaScript API that lets tooling read core files programmatically.

AI-written summary · about

  1. 0:00Start
  2. 4:33Tools
  3. 7:54Core Dump Formats
  4. 8:22Generating a Core Dump
  5. 13:35Reproducibility
  6. 28:25Recap 1/2
  7. 29:02What are Memory Leaks in JS?
  8. 33:20Heap Dump Diffing
  9. 33:45Writing heap snapshots
  10. 40:58Working Areas
~/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.