Is it possible to get a method\'s return value in the Visual Studio debugger, even if that value isn\'t assigned to a local variable? For example, I\'m debugging the follow
You can set a breakpoint in Foo, open the immediate window and run the following command:
? Foo(valueIn)
This will print the return value in the Immediate Window.
You can also copy the expression and paste it into the Watch window, though I would do this only if I am certain that the call has no side effects (otherwise you can get confusing results).
You can always use your watch box to evaluate function calls.
Foo(valueIn);
This will only work if your Proxy.Bar(valueIn) is time independent though.