Getting a Method's Return Value in the VS Debugger

前端 未结 8 1725
迷失自我
迷失自我 2020-12-15 19:46

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

8条回答
  •  北荒
    北荒 (楼主)
    2020-12-15 20:29

    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.

提交回复
热议问题