Microsoft

Seeing function return values in the Visual Studio 2013 debugger

Jun 27, 2013YanivF
Seeing function return values in the Visual Studio 2013 debugger
SummaryAI, from the source post

Introduced the ability to see function return values in the Visual Studio 2013 debugger for .NET code. This feature allows developers to examine the return value of a function when stepping over or out of it, particularly useful when the returned value is not stored in a local variable. The return values are displayed in the 'Autos Window' and can be accessed using the pseudo-variable '$ReturnValue' in the Watch and Immediate windows. The post provides a C# console application example to demonstrate this functionality.

More from the .NET Memory Analysis in Production trail