How to change background color of line highlighting during debug process in Netbeans?

夙愿已清 提交于 2019-12-03 09:38:17
confiq

Annotations Tab

Try the "Fonts & Colors" > "Annotions" tab.

Restart NetBeans (or re-open editors) for changes to take effect.

Open Tools->Options->Fonts&Colors then go to "Annotations" tab. Color options for debug line in "Current Program Counter" item. It is works for me.

JonK

There is a breakpoint selection in the Annotations tab.

Tools -> Options -> Fonts & Colors -> Annotations Tab -> Breakpoint

Change the background color of this.

Edit: Change all of the Current Program Counter categories too, all of them will be run into in various scenarios.

You must restart Netbeans to changes takes effects

If you don't see highlighted lines, it's possible that the project settings aren't configured correctly.

E.g. when using a htaccess redirect from the root folder to folder myapplication, be sure to edit Project->Properties->Sources->Web Root to the redirect folder.

That solved the issue for me.

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