~/talk

A Practical and Interactive Guide to Debugging C++ Code

Talkat Core C++ 2023 · 2023-06-05..06-07· [c-and-cpp]
slides:none on file

Crash reports go to a backend that groups by build and line so rare faults surface; reproducibility improves with AddressSanitizer ThreadSanitizer UBSan and targeted stress tests. Real bugs shown: a condition_variable notify outside the mutex causes destruction-and-crash (seen once every few weeks), a shared-memory size calculation doubles a vector when 32-bit and 64-bit processes mix, and ARM disassembly exposes a 3-bit shift bug (returns 2 of 4 items) from a long/int porting error. Use tracing and data breakpoints and tracing breakpoints, and record-and-replay like rr and UndoDB reverse debugging to find root causes and add guards or API-level fixes.

AI-written summary · about

  1. 0:00Introduction to debugging
  2. 7:27Handling bug reports
  3. 12:47Debugging as iterative process
  4. 13:28Reproducing bugs reliably
  5. 22:38Locating the root cause
  6. 29:26Advanced debugging tools
  7. 34:22Questioning assumptions
  8. 35:05Fixing bugs effectively
  9. 41:09Preventing future bugs
  10. 47:24Testing and validation
  11. 48:08Q&A and closing
~/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.