Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Changing the priority of markers in eclipse

When I set a break point on a row which already has a marker(The value of the local variable is not used) on it, I cannot see the break point marker; because the yellow lamp marker covers the break point marker.

Is it possible to change the priority of the markers so that the break point sits on top of the lamp marker?

enter image description here

like image 685
Brian Avatar asked Nov 09 '22 04:11

Brian


1 Answers

As long as @Mena answer is ok, as he sais...

Use at your own risk :)

This can be dangerous in a big project.


To avoid problems with hided warnings due configurations, what I usually do is:

  • Leave config as is, to see warnings.
  • Remove all really unnecessary lines causing warnings
  • Add an annotation to method still having warnings but needing breakpoint at same line.
    You can annotate class if necessary when massive warnings or breakpoints needed.

    @SuppressWarning("unused") 
    public void yourMethod() {
    }
    

This will allow you to handle warnings individually and see breakpoints when necessary.

like image 140
Jordi Castilla Avatar answered Nov 15 '22 04:11

Jordi Castilla