mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 17:56:01 +02:00
Keep the breakpoint disable when doing
deffered breakpoint installation. * cdt/org/eclpse/cdt/debug/mi/core/cdi/EventManager.java
This commit is contained in:
parent
192beb6f39
commit
e9a68a7cbd
2 changed files with 13 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2004-06-09 Alain Magloire
|
||||||
|
|
||||||
|
Keep the breakpoint disable when doing
|
||||||
|
deffered breakpoint installation.
|
||||||
|
|
||||||
|
* cdt/org/eclpse/cdt/debug/mi/core/cdi/EventManager.java
|
||||||
|
|
||||||
2004-06-08 Alain Magloire
|
2004-06-08 Alain Magloire
|
||||||
|
|
||||||
Fix for PR 65077
|
Fix for PR 65077
|
||||||
|
|
|
@ -361,8 +361,14 @@ public class EventManager extends SessionObject implements ICDIEventManager, Obs
|
||||||
bpMgr.setLocationBreakpoint(bkpt);
|
bpMgr.setLocationBreakpoint(bkpt);
|
||||||
bpMgr.deleteFromDeferredList(bkpt);
|
bpMgr.deleteFromDeferredList(bkpt);
|
||||||
bpMgr.addToBreakpointList(bkpt);
|
bpMgr.addToBreakpointList(bkpt);
|
||||||
|
// If the breakpoint was disable
|
||||||
|
// install it but keep it disable
|
||||||
|
if (!bkpt.isEnabled()) {
|
||||||
|
bpMgr.disableBreakpoint(bkpt);
|
||||||
|
}
|
||||||
eventList.add(new MIBreakpointCreatedEvent(bkpt.getMIBreakpoint().getNumber()));
|
eventList.add(new MIBreakpointCreatedEvent(bkpt.getMIBreakpoint().getNumber()));
|
||||||
} catch (CDIException e) {
|
} catch (CDIException e) {
|
||||||
|
// ignore
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue