问题
I was coding late yesterday (might be important) and debugging and breakpoints were working fine.
Today, probably when I pressed some unknown shortcut, execution is not stopping on breakpoint.
First thing I noticed is strange icon:
but I found no option (basically because I do not know what I'm looking for) to switch it back...
Currently it is crossed (I do not know what is that) but it is not disabled (icon is empty in such cases).
回答1:
Enable breakpoints.
Click Windows > Open perspective > Other Choose Debug.
Refer screen-shot
回答2:
Looking at your screenshot, it seems your break points are skipped. You should be able to enable them from the debug perspective. Look for a blue circle with a line across it. Should say skip all breakpoints (if memory serves me right)
来源:https://stackoverflow.com/questions/26903573/breakpoints-in-eclipse-stopped-working