Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2013-01-02 08:49:19 +0000
committerUwe Stieber2013-01-02 08:49:19 +0000
commitf6cb9ea1e29b32cc59163cfd11c57219478cf2cf (patch)
tree5c52dd558703189640b7523ab867b07c401c2a2c /target_explorer/plugins/org.eclipse.tcf.te.runtime
parentd9fc2f18c89c9e14c486f4c2dc254d36b3ce0729 (diff)
downloadorg.eclipse.tcf-f6cb9ea1e29b32cc59163cfd11c57219478cf2cf.tar.gz
org.eclipse.tcf-f6cb9ea1e29b32cc59163cfd11c57219478cf2cf.tar.xz
org.eclipse.tcf-f6cb9ea1e29b32cc59163cfd11c57219478cf2cf.zip
Target Explorer: Added scanner tracing capability and update service lists from within the scanner runnable directly
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.runtime')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.runtime/src/org/eclipse/tcf/te/runtime/tracing/TraceHandler.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.runtime/src/org/eclipse/tcf/te/runtime/tracing/TraceHandler.java b/target_explorer/plugins/org.eclipse.tcf.te.runtime/src/org/eclipse/tcf/te/runtime/tracing/TraceHandler.java
index 5c1989cad..94b0c110f 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.runtime/src/org/eclipse/tcf/te/runtime/tracing/TraceHandler.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.runtime/src/org/eclipse/tcf/te/runtime/tracing/TraceHandler.java
@@ -214,6 +214,18 @@ public class TraceHandler {
}
/**
+ * Check whether a trace slot is enabled. The debug mode defaults
+ * to 0.
+ *
+ * @param slotId The name of the slot.
+ *
+ * @return <code>true</code> if the slot is enabled, <code>false</code> otherwise.
+ */
+ public final boolean isSlotEnabled(String slotId) {
+ return isSlotEnabled(0, slotId);
+ }
+
+ /**
* Check whether a trace slot is enabled with the given debug mode.
*
* @param debugMode The debug mode

Back to the top