| Summary: | [breakpoints] breakpoint view not updated on delete when 'group by' and 'show supported' options are enabled | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Jeremiah Swan <swanj> | ||||||||||
| Component: | Debug | Assignee: | Pawel Piech <pawel.1.piech> | ||||||||||
| Status: | VERIFIED FIXED | QA Contact: | |||||||||||
| Severity: | minor | ||||||||||||
| Priority: | P3 | CC: | darin.eclipse, pawel.1.piech | ||||||||||
| Version: | 3.6 | Flags: | darin.eclipse:
review+
|
||||||||||
| Target Milestone: | 3.6 RC1 | ||||||||||||
| Hardware: | PC | ||||||||||||
| OS: | Windows XP | ||||||||||||
| Whiteboard: | |||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Jeremiah Swan
Created attachment 166670 [details]
JDT patch to provoke error condition
Created attachment 166671 [details]
some tracing to accompany the recreation steps
Created attachment 166695 [details]
Fix.
What happens is that by the time IBreakpointsListener.breakpointRemoved() is called, the breakpoint marker is gone (sometimes), so the "bbb".equals(bp.getFieldName()) test fails and the breakpoint doesn't get removed.
The good news is that this bug should not surface under normal circumstances because debuggers don't typically check the marker attributes to determine whether to filter a breakpoint, but it's still a real bug. This fix gets rid of the filtering of the removed breakpoints, and just checks whether the breakpoint was actually removed from the container (if a breakpoint was previously filtered it will not be removed).
Marking as minor since it shouldn't affect real world use cases. Thank you Jeremiah. Created attachment 166696 [details]
Complete fix patch.
Darin, would you like me to commit this fix? I believe I need you to approve it before committing. Approved, please commit. Fixed with patch committed for bug 311384. Already reviewed. |