~/talk

The Hidden Secrets of Debugging

Talkat DevDays 2023 · 2023-06-06..06-09· [developer-experience]
slides:none on file

Concrete claims and actionable knobs: d-trace runs in production with minimal overhead but needs kernel support and can force disabling macOS SIP and crash machines; estrace is the Linux-safe alternative with high verbosity and nontrivial performance cost; git bisect finds the exact regression commit and can run automated test scripts to pinpoint the bad revision; JFR records low‑overhead JVM events (~1% impact), jhsdb/jstack/jmap inspect cores and heaps, and Wireshark decodes packets and JSON so failures are reproducible and traceable.

AI-written summary · about

  1. 0:00Introduction
  2. 1:10Speaker and tools
  3. 2:13Focus on non-standard tools
  4. 2:35DTrace and capabilities
  5. 4:46Enabling DTrace on macOS
  6. 6:10DTrace script for syscalls
  7. 8:37DTrace recipes with man -k
  8. 9:17Debug disk I/O with DTrace
  9. 10:39DTrace advanced use cases
  10. 10:59eBPF and strace intro
  11. 12:03How strace works
  12. 13:06Debug Java with strace
  13. 14:13Filter strace output
  14. 14:55Java memory and strace limits
  15. 15:58git bisect for regressions
  16. 18:09Automate git bisect
  17. 20:58Advanced git bisect
  18. 22:22jhsdb for JVM debugging
  19. 23:26jhsdb tools overview
  20. 24:30Debug JVM with jstack/jmap
  21. 26:38Analyze heap with jmap
  22. 28:01JVM properties with jinfo
  23. 28:21Performance tuning with jsnap
  24. 29:04Debug JNI with jhsdb
  25. 29:26APM/profiler limits
  26. 30:08Java Flight Recorder
  27. 31:33Configure JFR
  28. 32:16Java Mission Control
  29. 33:00Wireshark for network
  30. 34:26Browser vs Wireshark
  31. 35:29Capture traffic with Wireshark
  32. 36:54Filter Wireshark traffic
  33. 38:21Inspect JSON in Wireshark
  34. 40:29Q&A: Non-Java tools
  35. 42:19Q&A: OpenJDK OOM errors
  36. 43:46Q&A: Debug HTTPS traffic
  37. 45:13Closing remarks
~/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.