fsharp
fsharp copied to clipboard
Custom Viewer for datatable / dataset not working in F# debugger
Repro steps
In Visual Studio (2022 here)
open System.Data
let table = new DataTable("test")
table.Columns.Add("a", typeof<string>)
table.Columns.Add("b", typeof<int>)
table.Rows.Add("a",1) |> ignore
table.Rows.Add("b",2) |> ignore
table
- debug the script till point there is one record in the table
- after hovering on
tablesymbol, click on view
Expected behavior
I would like it to work the same as in C# or VB.NET debugger, it should show what is described on https://docs.microsoft.com/en-us/visualstudio/debugger/dataset-visualizer-dialog-box?view=vs-2022
Actual behavior
It shows
Could not load this custom viewer.

Known workarounds
Not found.
Related information
- Windows 11 Pro build 22598.200
- VS 2022 17.2.0
- .NET Framework 4.8