my question is about displaying values during debugging. My Visual Studio version is: Microsoft Visual Studio Professional 2022 (64-bit) - Current Version 17.4.2
Since Visual Studio 2022, I noticed that I do not see values when hovering with the mouse on complex types in the debugger.
I remember that in older version you could always see the value of a variable by just hovering over the expression.
Now this only works on the root element. As soon as I want to see a property value of it, I now have to select the whole expression up to that point with the mouse.
Screenshot 1: "Password" has a value
2.Select a whole line of code:
3.Select the property:
You can try just hovering over the property without selecting the whole line of code.
You can check the "Enable property evaluation and other implicit function calls" in Tools > Options > Debugging > General:
CodePudding user response:
thanks for your update. The mentioned setting is active.
Below you can see the behavior again in better screenshots: At the moment, the evaluation is performed only on the first element. Regardless of whether primitive or complex type
(sadly im not allowed to post images with markdown)
hovering over property does not work - its not selected, just hover
only works if i hover over the property when it is fully selected
I am really desperate :-) Do you have another idea?
Thank you!