Visual Studio and .NET Framework Home
Data Breakpoints in managed code
3/19/2008 1:07:46 PM
It would be really great to have the Data Breakpoints feature in Visual Studio not only for native code but also for managed code (C# at least :)
Visual Studio 2008
Operating System Language
There's no possibility to break the execution wherever the execution point is when the value of a variable changes. You only can get the information of the change of a var for specifics breakpoints.
Implement the Data Breakpoint for C#
TAP Code (if applicable)
You can indicate your satisfaction with how Microsoft handled this issue by completing this quick
3 question survey
to post a comment.
Please enter a comment.
on 3/20/2008 at 8:48 AM
Thanks for the feedback on the Visual Studio Debugger. Managed Data Breakpoints is something we have wanted for a long time. There is key infrastructure in the CLR that is missing for us to implement this. However, this is certainly on the list for a future version of VS. In the meantime, what most people do as a workaround this is use properties to access their fields and then set breakpoints in the setter of the property.
Thanks again for the feedback
The Visual Studio Debugger Team
to post a workaround.
Please enter a workaround.
© 2014 Microsoft