Reputation: 3308
i got a tricky one:
I can't set valid breakpoints. Not in Tests, neither in my Java Classes. I searched Stackoverflow and google, but I couldn't find anybody with the same problem.
I'm using STS(x86) and Maven.
Edit: It may seem confusing but I solved it by myself. I have to go Run-> Skip all Breakpoints (it was set, and I wonder how it was set, because I didn't do it)
Upvotes: 201
Views: 57612
Reputation: 1
In mine case neither ctrl+alt+B is working nor I am getting any option in run->skip all breakpoint. Do we have any alternative options for fix this breakpoint issue
Upvotes: -1
Reputation: 68975
You should already be in debug perspective. If not just go to debug perspective. You should see disable all breakpoints button. -
Click on it and it should allow all breakpoints.
Upvotes: 4
Reputation: 531
Screenshot of the 'skip all breakpoints' in eclipse.
When you click on 'skip all breakpoints'(which is selected), everything will become normal
Upvotes: 31
Reputation: 693
The shortcut key for placing a breakpoint in Eclipse (Ctrl + Shift + B) is quite similar to the one that skips all the breakpoint (Ctrl + Alt + B). Hence, if a "skip all breakpoints" condition is to be cancelled, it can be achieved by pressing "Ctrl + Alt + B" again.
Upvotes: 9
Reputation: 3
I followed these steps below to fix this
Upvotes: 0
Reputation: 346407
There is a menu entry you have discovered for yourself that toggles the skipping of all breakpoints. There is also an icon for this in the "Breakpoints" View, and there may be a hot-key defined as well, all of which you may have triggered by accident.
Take a look at the Run -> Skip All Breakpoints.
Upvotes: 343
Reputation: 78004
1) Run => Skip all breakpoints. 2) Run => remove all break points.
and then your debugger wont show cross sign and will keep debugging your app.
Upvotes: 1