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.