Variable does not exist in the current context while debugging
It’s possible the local variables have been optimised away by the JIT compiler. Since you’re using Visual Studio you might be able to switch the configuration to Debug and rebuild. If not, you can configure the JIT compiler to disable optimisations and generate tracking information – see here on how to set the configuration. This … Read more