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 webassembly debugger doesn't stop on exception #50001

Closed
vsfeedback opened this issue Mar 19, 2021 · 4 comments
Closed

Blazor webassembly debugger doesn't stop on exception #50001

vsfeedback opened this issue Mar 19, 2021 · 4 comments
Assignees
Labels
arch-wasm WebAssembly architecture area-Debugger-mono
Milestone

Comments

@vsfeedback
Copy link

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)

@mkArtakMSFT
Copy link
Member

@lewing FYI

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

ghost commented Mar 22, 2021

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

Issue Details

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)

Author: vsfeedback
Assignees: -
Labels:

area-Diagnostics-coreclr, untriaged

Milestone: -

@ghost
Copy link

ghost commented Mar 22, 2021

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

Issue Details

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)

Author: vsfeedback
Assignees: -
Labels:

area-Debugger-mono, area-Diagnostics-coreclr, untriaged

Milestone: -

@mkArtakMSFT mkArtakMSFT added the arch-wasm WebAssembly architecture label Mar 22, 2021
@lewing lewing removed area-Diagnostics-coreclr untriaged New issue has not been triaged by the area owner labels Mar 22, 2021
@lewing lewing added this to the 6.0.0 milestone Mar 22, 2021
@lewing
Copy link
Member

lewing commented Jun 28, 2021

this should be fixed with #54040

@lewing lewing closed this as completed Jun 28, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Jul 28, 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

No branches or pull requests

4 participants