I am trying to inspect the values of local variables. This feature works for some variables. For those that it doesn't, Rider brings up an error:
The name `variable_name` does not exists in the current context.
And image example of code and debugger watch error:
This is decompiled code, but even here it works for some local variables. What could be the fix for this?
I already check
Settings->Build, Execution, Deployment->Disable JIT optimization on module load (.NET/.NET Core only), but as it says, it only works for .NET/.NET Core modules.