~/talk

Advanced debugging in golang

Talkat GoDays 2020 · 2020-01-21..01-23· [testing, go]
slides:none on file

Covers concrete debugging recipes: use Delve headless on :40000 to remote-debug containers and Kubernetes, build a multistage image with Delve and mount sources so DWARF maps lines; run debugging of tests and CLI binaries, set breakpoint with condition and call functions during debugging or set variables to avoid recompiles. Notes GDB for stepping into C bindings and inspecting memory/slices, disable DWARF in production (-w) and disable compressed DWARF for some GDB workflows, and mentions Mozilla record‑and‑replay for reverse debugging.

AI-written summary · about

  1. 0:00Introduction to debugging
  2. 3:15Go debuggers overview
  3. 5:23Delve basics and CLI debugging
  4. 7:55Debugging tests with Delve
  5. 9:47Advanced Delve features
  6. 13:54Pretty printing structs
  7. 14:16Debugging in Docker
  8. 16:33Remote debugging setup
  9. 21:26When to use GDB
  10. 26:34Debugging conclusions
  11. 29:26Q&A and resources
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.