1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-09 18:56:02 +02:00

[228703] Need to clear the containerContext from the breakpointHitMap if it exists.

This commit is contained in:
Marc Khouzam 2010-03-17 18:27:44 +00:00
parent d72885258c
commit 69c742577b

View file

@ -1184,7 +1184,7 @@ public class MIBreakpoints extends AbstractDsfService implements IBreakpoints, I
@DsfServiceEventHandler @DsfServiceEventHandler
public void eventDispatched(IResumedDMEvent e) { public void eventDispatched(IResumedDMEvent e) {
if (e instanceof IContainerResumedDMEvent) { if (e instanceof IContainerResumedDMEvent) {
clearBreakpointHitForContainer((IContainerDMContext)((IContainerResumedDMEvent)e).getDMContext()); clearBreakpointHitForContainer((IContainerDMContext)e.getDMContext());
} else { } else {
fBreakpointHitMap.remove(e.getDMContext()); fBreakpointHitMap.remove(e.getDMContext());
} }
@ -1210,6 +1210,7 @@ public class MIBreakpoints extends AbstractDsfService implements IBreakpoints, I
itr.remove(); itr.remove();
} }
} }
fBreakpointHitMap.remove(container);
} }
} }