visual-studiodebuggingwatch-window

Is there an equivalent of $exception for return values


In the Visual Studio watch window you can put $exception and get details of the current exception, but is there an equivalent for the methods return value?


Solution

  • In C# - and the answer is simply No. In VB.NET though, you can look for the name of the method in the Locals window, and that should be it. For reference, see this blog post by JaredPar (from Microsoft).