Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make the whole line change color in Eclipse when I toggle a breakpoint?

Tags:

java

eclipse

This will help debugging, anyone knows how?

like image 776
user496949 Avatar asked Mar 08 '11 10:03

user496949


People also ask

How do I change the breakpoint color in Eclipse?

1 Answer. Show activity on this post. here you will see list of 'annotations types', choose 'breakpoints'. Then on the right side you see 'Show in', check there 'Text as' and select 'Highlighted', below you can set background color.

How do I change the color of a selection in Eclipse?

Open Preferences, and navigate to General->Editors->Text Editors->Annotations. Select Occurrences, and change the color to whatever you like..

How do I use toggle breakpoint in Eclipse?

Breakpoints To define a breakpoint in your source code, right-click in the left margin in the Java editor and select Toggle Breakpoint. Alternatively, you can double-click on this position. The Breakpoints view allows you to delete and deactivate Breakpoints and modify their properties.

How do I add a breakpoint to all methods in Eclipse?

Select all the methods using ctrl . Right click and select Toggle Method Breakpoint .


1 Answers

seems to be possible, go to

Window > Preferences > General > Editors > Text Editors > Annotations

here you will see list of 'annotations types', choose 'breakpoints'. Then on the right side you see 'Show in', check there 'Text as' and select 'Highlighted', below you can set background color.

Screenshot to make it more obvious:

enter image description here

like image 114
Maxym Avatar answered Nov 03 '22 19:11

Maxym