Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Viewer for datatable / dataset not working in F# debugger #13482

Closed
smoothdeveloper opened this issue Jul 11, 2022 · 2 comments
Closed
Labels
Area-VS VS support for F# not covered elsewhere Feature Request
Milestone

Comments

@smoothdeveloper
Copy link
Contributor

smoothdeveloper commented Jul 11, 2022

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 table symbol, 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.

image

Known workarounds

Not found.

Related information

  • Windows 11 Pro build 22598.200
  • VS 2022 17.2.0
  • .NET Framework 4.8
@psfinaki
Copy link
Member

@smoothdeveloper this can be closed now, right?

@smoothdeveloper
Copy link
Contributor Author

@psfinaki 100% although I was just waiting to try it out in a future preview release.

I think it doesn't matter, so closing and will reopen if a future preview doesn't have it in a while.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-VS VS support for F# not covered elsewhere Feature Request
Projects
Archived in project
Development

No branches or pull requests

4 participants