Skip to content

Blazor WASM, Web App(Auto,WASM) Repeatedly Re-renders in Debug Mode When Using WebAssembly.instantiateStreaming via Web Worker #115300

Open
@GokulprasathVenkatachalam

Description

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

When running Visual Studio 2022 (v17.13.6) in administrator mode, loading a simple.wasm file in a Blazor WebAssembly application through a Web Worker using WebAssembly.instantiateStreaming results in the page continuously re-rendering when the application is executed in debug mode with a breakpoint set.

Expected Behavior

The application should pause at the breakpoint and continue executing as normal after resuming.

Steps To Reproduce

  • Open Visual Studio 2022 (v17.13.6) in administrator mode.

Image

  • Load a Blazor WebAssembly application that uses a Web Worker to instantiate a .wasm file via WebAssembly.instantiateStreaming.

  • Set a breakpoint in the Home.razor file code.

Image

  • Run the application in debug mode.

Exceptions (if any)

No response

.NET Version

9.0.203

Anything else?

Issue Video Reference: Continuously re-rendering.mp4

Sample: Sample.zip

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions