C
C#2y ago
J.

❔ Data breakpoints in MSVS

Hi, am having problems setting up data breakpoints (break when variable changes) in MSVS for C#. I've looked through numerous google articles but the option doesn't exist when I right click (it isn't even greyed out, it's just flat out not there). I am using community edition Visual Studio 2022
10 Replies
reflectronic
reflectronic2y ago
what version of .NET are you using
J.
J.OP2y ago
Does that affect it? I'm in unity atm, i can try to check if it works with .net
reflectronic
reflectronic2y ago
yes, it will not work with unity
J.
J.OP2y ago
don't see any data breakpoints in dotNet either
No description
J.
J.OP2y ago
this is .NET 6.0
reflectronic
reflectronic2y ago
you need to do it from the watch window
J.
J.OP2y ago
Oh
No description
J.
J.OP2y ago
what frameworks is it known to work on/not work on?
reflectronic
reflectronic2y ago
.NET Core 3.x or later
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.

Did you find this page helpful?