heron
heron

Reputation: 3661

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

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

image of debug hilighting in NetBeans on a dark background

Tried to change "Highlight Caret Row". No success. It only changes bg color of line where cursor blinks, but not debugging line:

image of an attempt to change the color of "Highlight Caret Row"

Upvotes: 23

Views: 13866

Answers (5)

JonK
JonK

Reputation: 297

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.

Upvotes: 3

confiq
confiq

Reputation: 2918

Annotations Tab

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

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

screen shot

Upvotes: 27

Jo Versmissen
Jo Versmissen

Reputation: 71

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.

Upvotes: 0

elloco
elloco

Reputation: 21

You must restart Netbeans to changes takes effects

Upvotes: 2

IPMan82
IPMan82

Reputation: 41

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.

Upvotes: 3

Related Questions