This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Steps to reproduce: - set a breakpoint on any line (line background changes to red) - start debug session and stop anywhere (current pc line background changes to green) - click on any variable used in any of that two lines Mark occurrences highlights usages of the variable but it is not visible on lines with debugger annotations.
The same problem is with hints. When there is a hint, the mark occurrences annotation is not visible. IMHO mark occurrences should have the highest priority.
*** Bug 224361 has been marked as a duplicate of this bug. ***
The debugger annotation is placed in TOP rack, and therefore overrides any of mark-occurrences, which are placed in the SHOW_OFF_RACK The mark occurrences is now also overriden by instant rename or instant refactoring highlights - which is IMHO correct, as the are even less short-lived than mark occurrences. Milo - do you have any advice on how to order / distribute the competing highlighters among the racks ?
The current ordering is imho ok although the whole system has of course this limitation of which highlight is more important than other. One of the ways to solve this could be to allow color blending by using Color's alpha channel. At times when NB used to allow internal execution (I guess 3.5 or so :-) ) we supported alpha blending and actively used it as a default for marking of a line with a caret (making line's background slightly darker). With a graphical interface for colors customization in later NB versions this was no longer used. On the other hand the color blending could produce unexpected color combinations - so this would have to be tested carefully first.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss