~/talk

Deterministic debugging with Delve

Talkat DevConf.CZ 2020 · 2020-01-24..01-26· [go, testing]
links:none on file
slides:none on file

Shows a concrete workflow: build an unoptimized Go binary, record it with Mozilla rr, then attach Delve + rr backend to replay the exact run on Linux x86_64/arm64. Implements record-and-replay using ptrace, perf counters and syscall interception so records syscalls and file reads and reproduces identical memory addresses and thread IDs. Replay runs single-threaded under rr (so slower for highly parallel programs) but enables reverse execution and deterministic root-cause debugging; requires Linux and hardware perf counters.

AI-written summary · about

  1. 0:00Start
  2. 2:23Senior Software Engineer RedHat @DerkTheDaring
  3. 7:59What is deterministic debugging?
  4. 14:08Must debug within a virtual machine that supports this feature
  5. 15:58Eliminating sources of nondeterminism
  6. 29:55Option 1
  7. 32:54Option 2
  8. 34:37Option 3
~/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.