~/talk

Time Travel Debugging

Talkat Meeting C++ 2018 · 2018-11-15..11-17· [developer-experience]
links:none on file
slides:none on file

Tool demos a concrete claim: the WinDbg preview on Windows 10 records every instruction into a trace file that the debugger then replay[s] forward and backward and treats as a queryable database. No rebuild or special linking is required; multithreaded execution and shared‑memory I/O are preserved (no serialization). Live examples find a buffer overrun from passing byte size instead of element count, a lost GetLastError overwritten by a later API call, and a vector swap exposing a use‑after‑free via small‑string optimization by querying memory accesses and allocation/free patterns.

AI-written summary · about

  1. 0:00Introduction to TTD
  2. 1:13How time travel works
  3. 8:12Basic usage demonstration
  4. 14:45Debugging a crash
  5. 24:22Advanced querying concepts
  6. 27:30Using queries for complex bugs
  7. 44:54Analyzing a complex memory bug
~/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.