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