In visual studio you can edit the value of some fields in the locals window or by hovering over them:
However this doesn't work for replacing a list which is a private field (in this case when I write click on _sectionList the Edit value option is greyed out).
Is there anyway to set the value of a private list field in the visual studio debugger?
In particular I want to replace _sectionList with sectionList2.
You can use the Immediate Window (CtrlAltI) to assign whatever you want to your private fields.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With