Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 243899 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/cdt/dsf/mi/service/MIBreakpointsManager.java (-4 / +5 lines)
Lines 1278-1290 Link Here
1278
     */
1278
     */
1279
    @DsfServiceEventHandler
1279
    @DsfServiceEventHandler
1280
    public void eventDispatched(ICommandControlShutdownDMEvent e) {
1280
    public void eventDispatched(ICommandControlShutdownDMEvent e) {
1281
        // bug 243899: The call to terminate results in an exception,  
1281
        terminated();
1282
        // need to investigate.
1283
        //terminated();
1284
    }
1282
    }
1285
1283
1286
    private void terminated() {
1284
    private void terminated() {
1287
        clearBreakpointStatus(fPlatformBPs.keySet().toArray(new ICBreakpoint[fPlatformBPs.size()]));
1285
    	// Reset the breakpoint install count
1286
    	for (IBreakpointsTargetDMContext ctx : fPlatformBPs.keySet()) {
1287
            clearBreakpointStatus(fPlatformBPs.get(ctx).keySet().toArray(new ICBreakpoint[fPlatformBPs.size()]));
1288
    	}
1288
        fPlatformBPs.clear();
1289
        fPlatformBPs.clear();
1289
    }
1290
    }
1290
1291

Return to bug 243899