~/talk

Debugger Visualizers to Make Your Code Accessible

Talkat CppNorth 2025 · 2025-07-21..07-23· [developer-experience, testing]
slides:none on file

Shows how to write debugger visualizers using Visual Studio Natvis and GDB pretty-printers, with concrete examples: Natvis display strings, array/tree/linklist expansions, custom list items and intrinsics; GDB Python printers with children generators and a GDBinit workflow. Demonstrates boost unordered_map support and an embedded in binary trick (works with recent Boost), warns GDB 14.1 is needed for two-string, and shows VS Code integration so the visualizers actually run and make containers readable.

AI-written summary · about

  1. 0:00Introduction to debuggers
  2. 1:41Debugging without recompiling
  3. 8:47Making code accessible
  4. 10:31Setting up NATV
  5. 13:39NATV type tags
  6. 21:02NATV display strings
  7. 24:08NATV expansions
  8. 29:23NATV intrinsics
  9. 32:13GDB pretty printers
  10. 32:55Basic GDB usage
  11. 35:23GDB init files
  12. 37:09Writing GDB printers
  13. 41:43GDB children method
  14. 48:12GDB in VS Code
  15. 54:35Conclusion and Q&A
~/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.