Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreutarass2010-08-12 18:09:29 -0400
committereutarass2010-08-12 18:09:29 -0400
commit9f720cacc3d546860a005af43f954029c51b15ad (patch)
tree2b8951c967799d22c39ef45887240d4603e25ddb
parente318fdac3e243fa4e43fafe607c3dacd8e54c8e9 (diff)
downloadorg.eclipse.tcf-9f720cacc3d546860a005af43f954029c51b15ad.tar.gz
org.eclipse.tcf-9f720cacc3d546860a005af43f954029c51b15ad.tar.xz
org.eclipse.tcf-9f720cacc3d546860a005af43f954029c51b15ad.zip
TCF Debugger: added code to cancel queued "step" actions when user executes "suspend" action
-rw-r--r--plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/commands/SuspendCommand.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/commands/SuspendCommand.java b/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/commands/SuspendCommand.java
index 50c92dc88..92622b8c3 100644
--- a/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/commands/SuspendCommand.java
+++ b/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/commands/SuspendCommand.java
@@ -107,6 +107,7 @@ public class SuspendCommand implements ISuspendHandler {
final Set<IToken> cmds = new HashSet<IToken>();
for (Iterator<IRunControl.RunControlContext> i = set.iterator(); i.hasNext();) {
IRunControl.RunControlContext ctx = i.next();
+ model.getLaunch().removeContextActions(ctx.getID(), "Suspended");
cmds.add(ctx.suspend(new IRunControl.DoneCommand() {
public void doneCommand(IToken token, Exception error) {
assert cmds.contains(token);

Back to the top