Viewing function return values in the Visual Studio 2013 debugger

One of the great new features in Visual Studio 2013 is the ability to view function return values in the debugger.  This works not just for C# and VB, but for F#, as well.  We didn’t include this in our list of new Visual F# tools features for F# 3.1, but we think it will make many F# developers happy nonetheless!

 

debugger

 

It even works for curried and anonymous functions, if you step through the code.

debugger2