1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +02:00

Patch for bug243899

This commit is contained in:
Francois Chouinard 2009-01-28 18:34:38 +00:00
parent e1053209d2
commit 284fbbad7f

View file

@ -1278,13 +1278,14 @@ public class MIBreakpointsManager extends AbstractDsfService implements IBreakpo
*/
@DsfServiceEventHandler
public void eventDispatched(ICommandControlShutdownDMEvent e) {
// bug 243899: The call to terminate results in an exception,
// need to investigate.
//terminated();
terminated();
}
private void terminated() {
clearBreakpointStatus(fPlatformBPs.keySet().toArray(new ICBreakpoint[fPlatformBPs.size()]));
// Reset the breakpoint install count
for (IBreakpointsTargetDMContext ctx : fPlatformBPs.keySet()) {
clearBreakpointStatus(fPlatformBPs.get(ctx).keySet().toArray(new ICBreakpoint[fPlatformBPs.size()]));
}
fPlatformBPs.clear();
}