Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDeep Amin2021-05-11 11:44:38 +0000
committerDeep Amin2021-05-11 11:44:38 +0000
commit45a164a2ec33cfe1b6262dadeab9c2cbc4298bf2 (patch)
treee95337ce6c4dd93b128708da55e8ce766efed59d
parentb404f8156bf2a348cef53b8ab9d44fae7b6ffb0d (diff)
downloadorg.eclipse.tcf-master.tar.gz
org.eclipse.tcf-master.tar.xz
org.eclipse.tcf-master.zip
Bug 573480 - RunToLine should add breakpoint only on active contextHEADmaster
-rw-r--r--plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse/tcf/internal/cdt/ui/TCFSuspendResumeAdapter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse/tcf/internal/cdt/ui/TCFSuspendResumeAdapter.java b/plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse/tcf/internal/cdt/ui/TCFSuspendResumeAdapter.java
index 2fece7371..58f0cd972 100644
--- a/plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse/tcf/internal/cdt/ui/TCFSuspendResumeAdapter.java
+++ b/plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse/tcf/internal/cdt/ui/TCFSuspendResumeAdapter.java
@@ -290,7 +290,7 @@ public class TCFSuspendResumeAdapter implements ISuspendResume, IRunToLine,
else {
properties.put(IBreakpoints.PROP_LOCATION, location.address.toString());
}
-// properties.put(IBreakpoints.PROP_CONTEXTIDS, new String[] { contextId });
+ properties.put(IBreakpoints.PROP_CONTEXT_IDS, new String[] { contextId });
properties.put(IBreakpoints.PROP_ENABLED, Boolean.TRUE);
properties.put(IBreakpoints.PROP_SERVICE, IRunControl.NAME);
final String breakpointId = TCFAction.STEP_BREAKPOINT_PREFIX + contextId;

Back to the top