How do I activate breakpoints?

Set breakpoints in source code To set a breakpoint in source code, click in the far left margin next to a line of code . You can also select the line and press F9, select Debug > Toggle Breakpoint, or right-click and select Breakpoint > Insert breakpoint. The breakpoint appears as a red dot in the left margin.

Read more

Why are my breakpoints not working?

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.

Read more