~/talk

Debug C++ Code - Best Time Travel Debugging Tech

Talkat ACCU 2024 · 2024-04-17..04-20· [security]
name:Greg Law
linkedin:gregthelaw
slides:none on file

Time travel debugging claims the exact failing instruction, shows the program state at any past moment, and demos three real tools: RR (record and replay) (open source, works on Linux but needs perf counters), Microsoft TTD LiveRecorder (Windows, binary instrumentation), and undo.io’s udb (binary rewriting with forked snapshots). A SAP HANA bug that sat unresolved for ten years gets fixed in days once a trace exists. Implementations either count backwards-taken branches or use hardware perf events, handle shared memory by trapping accesses, and typically cost 2×–10× runtime; start in the dev loop and CI before production.

AI-written summary · about

  1. 0:00Introduction
  2. 2:37Why debugging matters for programmers
  3. 8:23Print statements limits
  4. 16:57Time travel debugging
  5. 20:06Live demo
  6. 33:39Scaling time travel
  7. 45:24Implementation challenges
  8. 1:00:00Use cases
  9. 1:17:46Snapshots in production
  10. 1:23:46Adoption challenges
~/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.