Visual Studio Blog

The official source of product insight from the Visual Studio Engineering Team

Break When Value Changes: Data Breakpoints for .NET Core in Visual Studio 2019

“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!