~/talk

Back To Basics: Debugging Techniques

Talkat CppCon 2021 · on Thursday, 2021-10-28· at 09:00· online· [testing]
links:none on file
slides:none on file

Claims concrete numbers: industry studies show 13 hours average to reproduce and fix and hundreds of millions of developer hours lost annually; recommended tactics are reproduce in a sandbox, add assertions and tests, and minimize fixes so they don’t ripple. Use specific tools: compilers and warnings, static analyzers like cppcheck and Coverity, debuggers and record-and-replay tools such as rr and Undo, sanitizers (ASan/TSan/UBSan), valgrind, Wireshark, plus divide‑and‑conquer, make‑it‑worse, and scientific‑method test hypotheses.

AI-written summary · about

  1. 0:00Introduction
  2. 1:15Cost of software failures
  3. 7:06Agenda
  4. 7:55What are defects
  5. 11:07What are nonconformity
  6. 14:34Debugging challenges
  7. 19:47Debugging process
  8. 26:11Characterization
  9. 28:15Understanding
  10. 29:42Inspect
  11. 34:33Trace Logging
  12. 36:07Use
  13. 41:13Backtracking
  14. 42:16Divide Conquer
  15. 43:45Simplification
  16. 45:09Make the problem worse
  17. 46:02Scientific Method
  18. 50:50source code errors
  19. 51:41implementation errors
  20. 54:52delivering a fix
  21. 57:25creating documentation
  22. 59:27summary
~/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.