Getting Started with Debugging C++ in Visual Studio
summary
Demo uses the open-source Pioneer code to find a suspected division-by-zero by setting a conditional breakpoint on luminositySystemSum == 0, shows creating breakpoints with F9 or margin clicks, and sets a trace point from the call stack to log messages without stopping. It demonstrates a data breakpoint by right-clicking a local like visibleRadius and choosing break when value changes, organizes breakpoints into groups (Ctrl+G), and recovers deleted breakpoints with Ctrl+D or disables them with Shift+click.
AI-written summary · about
chapters (5)
- 0:00Introduction
- 2:00Setting a Conditional Break Point
- 2:42Setting a Trace Point
- 3:41Local Windows
- 4:15Data Breakpoint
related talks
44mA Guide to Debugging C++ Code: Practical and Interactive Examples
08mData Breakpoints in Visual Studio Code
01h 26mBoost your C/C++ Developer's Debugging Powers with GDB
57mModern Linux C++ debugging tools - under the covers
02mDependent Breakpoints
57mLessons from 20 years of Debugging C++ Code
24mC++ Cross-Platform Development with Visual Studio and WSL
06mMy favorite feature in Visual C++ Update 3
