Can't see breakpoint symbol in Eclipse Mars2 because it is hidden by another symbol

折月煮酒 提交于 2019-12-01 01:50:33

问题


I have an arrow symbol in the line where I would like to have a break point (see first red circle). How can I tell Eclipse to always show the break point symbol?

Is there an Eclipse setting to show the breakpoint symbol always on top? Or can I choose a larger break point icon that would be visible behind the arrow?

In order to reproduce the issue, search for a string that is located on the line (Strg+H) and use the search result tree to navigate to that line.

Work around: right click on the arrow symbol. If there is an option "Disable Breakpoint" the Breakpoint is currently active.


回答1:


Couple of possible solutions:

1) Don't show search result arrow:

Go to Window -> Preferences -> General -> Editors -> Text Editors -> Annotations. Click Search Results and un-check Vertical ruler checkbox. Apply.

2) Highlight line where breakpoint is set.

Go to Window -> Preferences -> General -> Editors -> Text Editors -> Annotations. Click Breakpoints and check Text as checkbox. Apply.



来源:https://stackoverflow.com/questions/38120021/cant-see-breakpoint-symbol-in-eclipse-mars2-because-it-is-hidden-by-another-sym

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