Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreutarass2011-08-19 15:53:09 -0400
committereutarass2011-08-19 15:53:09 -0400
commit6e3ebe2e036a3925d6e65f919cc5d39933d8012f (patch)
tree668fcc920cdd2b47d5f0812e2c7dd50bdba9e1f8 /plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse
parentfa3c77f37ce195a561f89f2f48c5b0f57fec1c44 (diff)
downloadorg.eclipse.tcf-6e3ebe2e036a3925d6e65f919cc5d39933d8012f.tar.gz
org.eclipse.tcf-6e3ebe2e036a3925d6e65f919cc5d39933d8012f.tar.xz
org.eclipse.tcf-6e3ebe2e036a3925d6e65f919cc5d39933d8012f.zip
TCF Tests: added run control tracing support.
Diffstat (limited to 'plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse')
-rw-r--r--plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/launch/TCFTargetTab.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/launch/TCFTargetTab.java b/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/launch/TCFTargetTab.java
index a33d6d89a..8e4a58666 100644
--- a/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/launch/TCFTargetTab.java
+++ b/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/launch/TCFTargetTab.java
@@ -17,6 +17,7 @@ import java.util.List;
import java.util.Map;
import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.Platform;
import org.eclipse.debug.core.ILaunchConfiguration;
import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
import org.eclipse.debug.ui.AbstractLaunchConfigurationTab;
@@ -998,6 +999,10 @@ public class TCFTargetTab extends AbstractLaunchConfigurationTab {
mem_map = new HashMap<String,ArrayList<IMemoryMap.MemoryRegion>>();
TCFLaunchDelegate.parseMemMapsAttribute(mem_map, mem_map_cfg);
}
+ boolean enable_tracing =
+ "true".equals(Platform.getDebugOption("org.eclipse.tm.tcf.debug/debug")) &&
+ "true".equals(Platform.getDebugOption("org.eclipse.tm.tcf.debug/debug/tests/runcontrol"));
+ if (enable_tracing) System.setProperty("org.eclipse.tm.tcf.debug.tracing.tests.runcontrol", "true");
test[0] = new TCFTestSuite(peer, done, path_map, mem_map);
}
catch (Throwable x) {

Back to the top