So my idea is I want to see what an object's members or properties would return/change while I am debugging/tracing. There is Object Browser but it is only to show tree list of an object.
For example, let's say
var cacheDir = cotext.CacheDir;
But I want to change .CacheDir to .ExternalCacheDir while debugging to see what value would be returned to the variable.
var cacheDir = context.ExternalCacheDir;
Otherwise, I have to change it in editing mode and restart the whole debugging process. I think that we can do something like this in browser developer console or Jupyter notebook like CLI environment.
With C# Keyboard settings you press Ctrl+Alt+I - the immediate window. Or via the Command window type Immed.
In the Immediate Window you can do ad-hoc commands.
So in the debugger IDE you'd step over the line of code:
And now you want to tweak it just a once off, Ctrl+Alt+I
Then paste:
And press enter. You can always revert back in the immediate window, eg:
If you just want to see the value of a variable you can do a ?
cacheDirto see the values. Give it a go :)