Debug C++ Without Running
summary
Shows concrete IDE features: CLion and ReSharper C++ can show final macro replacement and do step-by-step macro substitution, with a Boost example and a warning that substituting macros may change __LINE__/__COUNTER__ and create duplicate declarations. Tools infer hidden types by substituting typedefs to final type, list overload candidates with signatures and docs, and profile includes with an includes profiler; Google reports include-cleanup tools can cut compile time ~40%. Missing: reliable tooling for concepts/consteval branch selection and explaining why overload resolution chose a candidate.
AI-written summary · about
chapters (33)
- 0:00Introduction
- 2:21Agenda
- 4:22Tricky C
- 7:56Simple examples
- 9:08QA story
- 10:10The problem with language
- 11:34Example
- 17:02Overloads
- 18:20Overload Resolution
- 19:52ConstExper
- 20:29Why regular tools dont help
- 22:33Tools for abstractions
- 24:13Herb Slides
- 24:50Macros
- 25:30Final Replacement
- 30:55Macro Navigation
- 31:39Macro Declaration
- 32:36Type Information
- 34:17Substitute Type Information
- 35:18Debugging
- 36:43Tools
- 38:10Overloaded Operators
- 39:50Overloaded Functions
- 40:36Visual Studio
- 43:16Prototype
- 44:13Blowup Factor
- 45:29Precompiled headers
- 45:51Include profiler
- 46:43Optimizers
- 48:00References
- 48:18Questions
- 49:40How it grows
- 50:45Is it scary
related talks
53mDebug C++ Without Running
54mA look at C++ through the glasses of a language tool
52mHow Visual Studio Code Helps You Develop More Efficiently in C++
01h 03mElevate Your Code to Modern C++11 with Automated Tooling
16mCLion Tips & Tricks
01h 01mCode Analysis++
01h 01mTools from the C++ Ecosystem to save a leg
52m“Tools from the C++ eco-system to save a leg”
