Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2019 WebAssembly: Unbound breakpoint is not hit

In the last couple of days I completed a minor upgrade of Visual Studio 2019 from version 17.0.xx to 17.1.1.

After completing this, breakpoints in the client project within my Blazor WebAssembly solution are not working. Hovering over the breakpoint displays:

The breakpoint will not currently be hit. Unbound breakpoint

This only seems to be affecting the client project. I can effectively set breakpoints in the server project under the same solution.

I have been searching this and have completed the following steps:

  1. Rebooted
  2. Clean and Rebuild solution
  3. Delete folder obj, bin, and vs; clean and rebuild solution
  4. Copied my launch settings from a prior version, clean and rebuild solution

None of these have had any impact.

How can I solve this?

like image 348
Prv Avatar asked Oct 27 '25 08:10

Prv


1 Answers

I had the same, and I eventually fixed it by setting the Debug symbols to "PDB file, portable across platforms" in the build settings of the client project, as per the documentation.

like image 102
Dirk Diggler Avatar answered Oct 30 '25 14:10

Dirk Diggler



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!