Community
Participate
Working Groups
Highlight color of breakpoint stays on even once breakpoint is removed. This happens with both a fresh Eclipse IDE for Java EE Developers and the one I am normally using (same version, but plugins installed and other prefs changed). *Steps to repro:* 1. Open any java class in Eclipse IDE for Java EE Developers 2. Open Window -> Preferences 3. Go in General > Editors > Text Editors > Annotations 4. Select "Breakpoints" as a type. 5. Check "Text as", pick the "Highlighted" value and select a color (you can leave the default). 6. Press Ok to dismiss dialog 7. Back in your java class, in the main() method, add a line of code (i.e. "System.out.println("hello world");") 8. Add a breakpoint on that line (double-click in the margin). 9. Confirm the entire line is highlighted with your custom color. 10. Remove the breakpoint from the line (double-click in the margin, again). *Expected results* 11. The highlight on the line immediately disappear. *Actual results* 11. The highlight on the line stays there (until you close and reopen the document)*. * Note: it seems that typing in the document (after or before the highlight location) will eventually make the hightlight disappear. -- Configuration Details -- Product: Eclipse 1.5.2.20130110-1126 (org.eclipse.epp.package.jee.product) Installed Features: org.eclipse.platform 4.2.1.v20130118-173121-9MF7GHYdG0B5kx4E_SkfZV-1mNjVATf67ZAb7
Created attachment 228452 [details] Snapshot showing the issue Uploaded an image showing the issue: no breakpoints in the margin, but there is still the highlight of when the breakpoint was there.
Thanks for the detailed steps Gabriel. Debug does not do anything special to make the annotation show up other than set the char start / end on the marker. Dani, is there some update callback we should be using to force the editor to update after we delete the breakpoint marker? Update to step 11: have mark occurrences on and select an identifier - the breakpoint annotation also goes away when the editor refreshes.
(In reply to comment #2) > Thanks for the detailed steps Gabriel. > > Debug does not do anything special to make the annotation show up other than > set the char start / end on the marker. Dani, is there some update callback > we should be using to force the editor to update after we delete the > breakpoint marker? No, but it should be done in a workspace runnable.
I'm experiencing this bug as well.
*** This bug has been marked as a duplicate of bug 373201 ***