diff options
author | Alain Magloire | 2003-11-20 22:22:22 +0000 |
---|---|---|
committer | Alain Magloire | 2003-11-20 22:22:22 +0000 |
commit | 0abe44597414e5ae2d1431a734375edbcde8ce11 (patch) | |
tree | d73fe34b6675a3daa8d5f202472a77f5d46ed05a | |
parent | 0865df6aef414236207af786da6aac6e33d92069 (diff) | |
download | org.eclipse.cdt-0abe44597414e5ae2d1431a734375edbcde8ce11.tar.gz org.eclipse.cdt-0abe44597414e5ae2d1431a734375edbcde8ce11.tar.xz org.eclipse.cdt-0abe44597414e5ae2d1431a734375edbcde8ce11.zip |
Do not Disable the events. Part of FIX for 46313
-rw-r--r-- | debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/BreakpointManager.java | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/BreakpointManager.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/BreakpointManager.java index a641d53793f..b54c7be1206 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/BreakpointManager.java +++ b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/BreakpointManager.java @@ -25,7 +25,6 @@ import org.eclipse.cdt.debug.mi.core.MISession; import org.eclipse.cdt.debug.mi.core.cdi.model.Breakpoint; import org.eclipse.cdt.debug.mi.core.cdi.model.Target; import org.eclipse.cdt.debug.mi.core.cdi.model.Watchpoint; -import org.eclipse.cdt.debug.mi.core.command.Command; import org.eclipse.cdt.debug.mi.core.command.CommandFactory; import org.eclipse.cdt.debug.mi.core.command.MIBreakAfter; import org.eclipse.cdt.debug.mi.core.command.MIBreakCondition; @@ -103,23 +102,14 @@ public class BreakpointManager extends SessionObject implements ICDIBreakpointMa boolean suspendInferior(ICDITarget target) throws CDIException { boolean shouldRestart = false; - Session session = (Session)getSession(); // Stop the program if (allowInterrupt) { if (target instanceof Target) { Target ctarget = (Target)target; // Disable events. if (ctarget.isRunning()) { - EventManager mgr = (EventManager)session.getEventManager(); - Command cmd = ctarget.getLastExecutionCommand(); - int lastToken = 0; - if (cmd != null) { - lastToken = cmd.getToken(); - } - mgr.disableEventToken(lastToken); ctarget.suspend(); shouldRestart = true; - mgr.enableEventToken(lastToken); } } else if (!target.isSuspended()) { target.suspend(); |