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:
parent
e1053209d2
commit
284fbbad7f
1 changed files with 5 additions and 4 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue