~/talk

A Practical Approach to Error Handling

Talkat C++ on Sea 2022 · 2022-07-05..07-07· [c-and-cpp, software-architecture]
links:none on file
slides:none on file

think‑cell describes a 20‑year, practical error strategy: wrap every OS/API call, collect memory dumps and send them to a server that auto‑opens them in a debugger, reproduce a failure before adding handlers, and prefer fixes that silently work for users. A surprising stat: about 5% of handlers fix 95% of errors. A concrete win: register MSXML and retry eliminated many customer failures. Uses p0323/expected mention, MDL compression to correlate DLL versions, and keeps asserts nonfatal to avoid silencing diagnostics.

AI-written summary · about

  1. 0:00Introduction
  2. 1:53Where are errors coming from
  3. 5:43Output exceptions
  4. 9:45Exception safe
  5. 13:01Handling unexpected exceptions
  6. 15:53Gathering information
  7. 16:42Carry on
  8. 22:00Critical Errors
  9. 24:09Untested Errors
  10. 28:02Bad User Experience
  11. 29:21Special Environment
  12. 31:12Reporting
  13. 32:52Problem identification
  14. 37:30How does it work
  15. 41:22C20 contracts
~/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.