How can I set a data breakpoint in a C# program in Visual Studio 2015?
https://stackoverflow.com/a/621537/156458 says that for C++
How to Set a Memory Change Breakpoint
From the Debug Menu, choose New Breakpoint and click New Data Breakpoint
—or—
in the Breakpoints window Menu, click the New dropdown and choose New Data Breakpoint.
But neither exists in Visual Studio 2015.
Is data breakpoint not supported for C#?
Why is it supported for C++, but not for C#?
Is it technically difficult to implement?
Any way to work around?
It doesn't appear to be possible unfortunately: https://msdn.microsoft.com/en-us/library/350dyxd0%28v=vs.100%29.aspx
Edit: It's a much requested feature with some discussion about it: https://visualstudio.uservoice.com/forums/121579-visual-studio-ide/suggestions/6097301-support-data-breakpoints-for-c
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With