F# Expression EvaluatorAn F# expression evaluator for the Visual Studio debugger, written entirely in F#. When the debugger stops in F# code, this extension shows values, types and call stack names as F# writes them. It also compiles F# expressions in the Watch window, the Immediate window and DataTips. Without this extension, Visual Studio uses the C# evaluator in F# frames. You then get C#
syntax and C# type names. To show F# values, the C# evaluator calls
ValuesThe extension reads values from memory. It does not run code in the debugged process.
The extension shows records, anonymous records, unions, lists, arrays, tuples, When you expand a value, you see its F# fields, list items, map entries or captured values.
A Raw View row shows the .NET members. Add Watch on a row writes an F# expression
for that row, for example Call stack names
Names show curried argument groups, tuple parameters, operators and units of measure.
The extension marks the code of F# expressionsThe F# compiler compiles the expressions in the Watch window, the Immediate window and DataTips:
In the Immediate window,
Expressions must be F#. The extension does not accept C# format specifiers such as LocalsThe Locals window shows the variables as they are in the source. It shows the captured
values of a closure and the variables of a Requirements
The extension operates only in frames that the PDB identifies as F#. C# and Visual Basic frames do not change. Turn the extension off
The change applies from the next evaluation. You do not have to restart Visual Studio. FeedbackReport problems and send ideas on GitHub. LicenseThe extension is open source under the MIT License. |