Debugging - A dive into Breakpoints
summary
Visual Studio 2019 and .NET Core 3 add data breakpoints that stop when a heap object’s value changes; on older .NET use conditional breakpoints tied to a unique ID to catch the setter and then inspect the call stack. Breakpoint actions write formatted messages to the Output window or assign values at runtime (example: when i == 0 set i = 250) and can be set to continue execution so loops skip inspected iterations without editing code.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 0:10Who am I
- 0:31Data breakpoints
- 0:58Conditional breakpoints
- 1:40Actions
- 2:04Show message
- 3:08Set variable
- 4:03Conditional breakpoint
- 4:16References
related talks
41mDebugging Tips and Tricks with Visual Studio
01h 01mBeyond step-by step debugging in Visual Studio
17mFast Focus: Visual Studio Debugging & Diagnostics: Tips & Tricks
42mWhat Really Happens When You Hit a Breakpoint
07mDebugging Go Code in VS Code
31mDebugging with IntelliJ IDEA
48mIntelliJ Debugger Tips & Tricks
45mDebugging with IntelliJ IDEA
