'VS 2022 17.1.3 The breakpoint will not currently be hit
I am trying to debug my Visual Studio C# Blazor project however whenever I try and set a break point I get the error "The breakpoint will not currently be hit. Unbound breakpoint." or "No symbols have been loaded." I had been able to debug until the latest visual release. I have tried the following:
- Debug and not Release mode.
- Cleaning and building the solution.
- Checking and Unchecking "Enable Just My Code"
- Double checking my launchSettings.json
If anyone can give me any advice on how to solve this it would be greatly appreciated.
Solution 1:[1]
This was fixed by someone but their answer was removed. Basically what I needed to do was Properties/Build/General and set "Debug Symbols" to "PDB file, portable across platforms."
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | William Sewell |
