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

[Blazor/WASM] Unable to enumerate over IEnumerable in the Watch Window #49442

Closed
RobertBouillon opened this issue Mar 9, 2021 · 4 comments · Fixed by #55524
Closed

[Blazor/WASM] Unable to enumerate over IEnumerable in the Watch Window #49442

RobertBouillon opened this issue Mar 9, 2021 · 4 comments · Fixed by #55524
Assignees
Labels
arch-wasm WebAssembly architecture area-Debugger-mono
Milestone

Comments

@RobertBouillon
Copy link

Describe the bug

You cannot view the results of an IEnumerable in the watch window.

To Reproduce

  1. Create a new Blazor / WASM project in VS 2019
  2. Add a new class called Bar using the code below
  3. Update FetchData.razor using the code below.
  4. Add a breakpoint after the foo variable is initialized
  5. Add foo to the watch window
  6. Expand the foo variable in the watch window
  7. Expand the Sequence property (It's IEnumerable<int>)

Expected Results

An option will appear in the watch window called "Results View" that will execute the enumerable and display the results

Actual Results

No option exists to view the contents of the IEnumerable property.

WASM Output

image

.NET Core Output

image

@mkArtakMSFT mkArtakMSFT transferred this issue from dotnet/aspnetcore Mar 10, 2021
@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged New issue has not been triaged by the area owner label Mar 10, 2021
@dotnet-issue-labeler
Copy link

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

@mkArtakMSFT mkArtakMSFT added area-Debugger-mono and removed untriaged New issue has not been triaged by the area owner labels Mar 10, 2021
@ghost
Copy link

ghost commented Mar 10, 2021

Tagging subscribers to this area: @thaystg
See info in area-owners.md if you want to be subscribed.

Issue Details

Describe the bug

You cannot view the results of an IEnumerable in the watch window.

To Reproduce

  1. Create a new Blazor / WASM project in VS 2019
  2. Add a new class called Bar using the code below
  3. Update FetchData.razor using the code below.
  4. Add a breakpoint after the foo variable is initialized
  5. Add foo to the watch window
  6. Expand the foo variable in the watch window
  7. Expand the Sequence property (It's IEnumerable<int>)

Expected Results

An option will appear in the watch window called "Results View" that will execute the enumerable and display the results

Actual Results

No option exists to view the contents of the IEnumerable property.

WASM Output

image

.NET Core Output

image

Author: RobertBouillon
Assignees: -
Labels:

area-Debugger-mono

Milestone: -

@SamMonoRT SamMonoRT added this to the 6.0.0 milestone Jun 23, 2021
@SamMonoRT SamMonoRT added the arch-wasm WebAssembly architecture label Jun 23, 2021
@ghost
Copy link

ghost commented Jun 23, 2021

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

Issue Details

Describe the bug

You cannot view the results of an IEnumerable in the watch window.

To Reproduce

  1. Create a new Blazor / WASM project in VS 2019
  2. Add a new class called Bar using the code below
  3. Update FetchData.razor using the code below.
  4. Add a breakpoint after the foo variable is initialized
  5. Add foo to the watch window
  6. Expand the foo variable in the watch window
  7. Expand the Sequence property (It's IEnumerable<int>)

Expected Results

An option will appear in the watch window called "Results View" that will execute the enumerable and display the results

Actual Results

No option exists to view the contents of the IEnumerable property.

WASM Output

image

.NET Core Output

image

Author: RobertBouillon
Assignees: -
Labels:

arch-wasm, area-Debugger-mono

Milestone: 6.0.0

@thaystg
Copy link
Member

thaystg commented Jul 10, 2021

We don't support DebuggerTypeProxy and DebuggerDisplay yet.

@lewing lewing modified the milestones: 6.0.0, 7.0.0 Jul 12, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Aug 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture area-Debugger-mono
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants