-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Description
Is there an existing issue for this?
- I have searched the existing issues
Is your feature request related to a problem? Please describe the problem.
When debugging a Blazor Server application in Visual Studio, every time the browser is refreshed or the connection is interrupted, a large number of JSDisconnectedException instances are thrown internally by the framework.
Even though these exceptions do not break execution (no break on exception set), Visual Studio’s debugger still captures their call stacks as first-chance exceptions.
This results in:
Severe debugging performance degradation
Noticeable lag in the IDE during browser refreshes
A backlog of redundant exception traces in the debugger output and internal logs
This issue makes Blazor Server development and debugging cumbersome, especially during frequent UI iterations and hot reload scenarios.
Describe the solution you'd like
Provide a way to:
Disable or suppress the capture/logging of JSDisconnectedException in Visual Studio debugger, or
Mark JSDisconnectedException as non-notifiable to the debugger by default, since it’s an expected and harmless lifecycle event in Blazor Server.
Additional context
No response