Want to quickly identify objects by more than just their type while debugging? You can now pin object properties to the top of your debugger displays using the new Pinnable Properties tool in Visual Studio 2019 16.4!
Post by this author
Did you know that you can view objects by more than just their types in the Watch, Autos, and Locals windows? Learn how you can customize your object views in debugger windows using DebuggerDisplay and Natvis!
“Why is this value changing unexpectedly and where or when is this occurring?!” This is a question many of us dread asking ourselves, knowing that we'll have to do some tedious trial-and-error debugging attempting to locate the source of this issue. For C++ developers, the exclusive solution to this problem has been the data breakpoint, a debugging tool that allows you to break when a specific object’s property changes. Fortunately, data breakpoints are no longer a C++ exclusive because they are now available for .NET Core (3.0 or higher) in Visual Studio 2019 Preview 2!
Are you inspecting many variables at once in the Locals window? Tired of constantly scrolling through the Watch window to locate the object you are currently interested in? New to Visual Studio 2019, you can now find your variables and their properties faster using the new search feature found in the Watch, Autos, and Locals windows!
Have you ever found a bug in your code and wanted to pause code execution to inspect the problem? This blog post showcases the various kinds of breakpoints that can be used to accomplish this task in Visual Studio 2017.