Does not show C# watch window value

67 views Asked by At

VS2022 C# watch window internal error message

I would like to inquire about an issue where values cannot be calculated in the Watch window.

Pic1

Pic2

How to solve this?

1

There are 1 answers

1
Zhang Li On

we had the same thing with VS, you can right click the Library and under Build tick Allow unsafe code setting , it's works for us. enter image description here