Breakpoints in Eclipse stopped working

拥有回忆 提交于 2019-12-13 04:15:18

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!