Running Visual Studio Community 2017. Created a WebAPI project, have a controller class in there, with some basic stuff, but when I go to run in debug mode, I get the following error on my breakpoints, and I haven't the foggiest idea why.
The breakpoint will not currently be hit. Breakpoints set but not yet bound.
I've seen a few answers here and there, but they don't help, or they're about Visual Studio Code, which I am definitely not using.
I found this, but it doesn't tell me what to do about my problem. How do I fix this issue?
If a source file has changed and the source no longer matches the code you're debugging, the debugger won't set breakpoints in the code by default. Normally, this problem happens when a source file is changed, but the source code wasn't rebuilt. To fix this issue, rebuild the project.
Right-click the breakpoint symbol and select Conditions (or press Alt + F9, C). Or hover over the breakpoint symbol, select the Settings icon, and then select Conditions in the Breakpoint Settings window.
Press F3 and then press F9 to add a breakpoint.
Change your Project mode from Release to Debug in your Visual Studio.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With