4

I'm using dnSpy (version: 4.5.3) to debug a .NET binary. I can successfully view the values of Local variables in the Locals window but I cannot view the values of static fields.

However, per this github discussion: https://github.com/0xd4d/dnSpy/issues/334 for dnSpy, this feature was already added in version 4.0

Please refer the image below. The locals windows doesn't show the value of Static Fields.

enter image description here

Is there a way to view them? How can I use the C# Interactive feature of dnSpy to view these values?

Thanks.

1
  • 1
    it says on the screen, decompiler generated values can't be evaluated. There's nothing about it being static or not Mar 27, 2018 at 14:16

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.