Reputation: 3945
When I am testing my code and have a breakpoint set, it will stop when it hits it.
I can then unclick the breakpoint and continue testing different areas of my code. Except (although unclicked) the breakpoint is still stored, and stops at the same point every time it passes this code.
Stopping the code and removing the breakpoint works - is there an easier way to do this without me stopping debugging?
Upvotes: 0
Views: 639
Reputation: 21
I think you did remove the break points on runtime. So if you remove the breakpoint in runtime. It wont save. So it will hit the same place again.
Please remove the breakpoint in normal mode (before debugging).
let me know if it is working or not.
Upvotes: 2
Reputation: 148150
You can disable or remove all break points from debug menu. As you can see to delete all break points you need to press ctrl+shift+F9
Upvotes: 1
Reputation: 14995
Ctrl + Shift + F9 will remove all breakpoints from your project. I use this to clear all breakpoints efficiently.
If you remove a breakpoint it will not hit anymore. If it does there may be something wrong with your project
Upvotes: 0