1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-07 09:46:02 +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:
Alain Magloire 2004-06-09 15:43:47 +00:00
parent 192beb6f39
commit e9a68a7cbd
2 changed files with 13 additions and 0 deletions

View file

@ -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

View file

@ -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
} }
} }
} }