Skip to content

Blazor webassembly debugger doesn't stop on exception #50001

Closed

Description

@vsfeedback

This issue has been moved from a ticket on Developer Community.


[severity:It's more difficult to complete my work]
When debugging any dotnet application in VS we can choose to stop on any exception. That make the debugging really quick when there are exceptions and we want to inspect what happened.

However, when debugging a Blazor Webassemby application, that doesn't happen. You get an error and you need to find the place where the error happened and set a break point and hope it breaks there.

Same behaviour should be expected from Blazor Webassemby apps to make development easier.

Steps:
1 - Createa Webassembly app
2 - do something that creates an exception
3 - Start in Debug mode and in the Exception Settings dialog select to stop on all CLR exceptions
4 - Expected: VS stops then the Exception happens
What happens: Nothing. You get an error in the browser and need to inspect the console for errors.


Original Comments

Feedback Bot on 3/16/2021, 07:33 PM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.


Original Solutions

(no solutions)

Activity

  1. mkArtakMSFT commented on Mar 19, 2021

    @mkArtakMSFT
  2. ghost added
    untriagedNew issue has not been triaged by the area owner
    on Mar 22, 2021
  3. added this to the 6.0.0 milestone on Mar 22, 2021
  4. lewing commented on Jun 28, 2021

    @lewing
    Member

    this should be fixed with #54040

  5. ghost locked as resolved and limited conversation to collaborators on Jul 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions