Pretty printers are awesome, but the setup can be a real pain. Here’s a quick summary of a day’s work so you can skip to the end.
What?
Natvis
https://learn.microsoft.com/en-us/visualstudio/debugger/create-custom-views-of-native-objects?view=vs-2022
https://github.com/microsoft/vscode-cpptools/issues/10917
https://github.com/rokups/natvis4gdb
GDB pretty printers
.debug_gdb_scripts
cmake generated files