~/talk

A Guide to Debugging C++ Code: Practical and Interactive Examples

Talkat C++ on Sea 2023 · 2023-06-28..06-30· [c-and-cpp]
slides:none on file

Starts from a crashing C++ program and shows exact tactics: reproduce with stress tests and address sanitizer, use tracing and data breakpoints or reverse debugging to find where memory or timing assumptions fail, inspect disassembly for CLR/ABI mismatches, and fix a real bug where a vector in shared memory broke because 32‑ vs 64‑bit size_t differed — prevented thereafter with a static_assert with hardcoded size. Also describes using crash databases (Google Crashpad), shipping tiny analysis code, and rolling fixes that report success back.

AI-written summary · about

  1. 0:00Debugging in C++
  2. 7:07Bug reports
  3. 12:35Debugging strategies
  4. 22:37Locating the bug
  5. 33:45Fixing and preventing regressions
  6. 42:44Summary
~/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.