Skip to content

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

Closed

Description

@RobertBouillon

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

Activity

  1. ghost added
    untriaged
    on Mar 10, 2021
  2. added and removed
    untriaged
    on Mar 10, 2021
  3. added this to the 6.0.0 milestone on Jun 23, 2021
  4. added
    arch-wasm
    on Jun 23, 2021
  5. thaystg commented on Jul 10, 2021

    @thaystg
    Member

    We don't support DebuggerTypeProxy and DebuggerDisplay yet.

  6. modified the milestones: 6.0.0, 7.0.0 on Jul 12, 2021
  7. ghost locked as resolved and limited conversation to collaborators on Aug 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

arch-wasmarea-Debugger-mono

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions