1

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
    it says on the screen, decompiler generated values can't be evaluated. There's nothing about it being static or not – Paweł Łukasik Mar 27 '18 at 14:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.