C
C#15mo 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
reflectronic15mo ago
what version of .NET are you using
J.
J.OP15mo ago
Does that affect it? I'm in unity atm, i can try to check if it works with .net
reflectronic
reflectronic15mo ago
yes, it will not work with unity
J.
J.OP15mo ago
don't see any data breakpoints in dotNet either
No description
J.
J.OP15mo ago
this is .NET 6.0
reflectronic
reflectronic15mo ago
you need to do it from the watch window
J.
J.OP15mo ago
Oh
No description
J.
J.OP15mo ago
what frameworks is it known to work on/not work on?
reflectronic
reflectronic15mo ago
.NET Core 3.x or later
Accord
Accord15mo 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.
Want results from more Discord servers?
Add your server