Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlain Magloire2003-11-20 22:22:22 +0000
committerAlain Magloire2003-11-20 22:22:22 +0000
commit0abe44597414e5ae2d1431a734375edbcde8ce11 (patch)
treed73fe34b6675a3daa8d5f202472a77f5d46ed05a
parent0865df6aef414236207af786da6aac6e33d92069 (diff)
downloadorg.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.java10
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();

Back to the top