Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreutarass2011-05-07 13:14:40 -0400
committereutarass2011-05-07 13:14:40 -0400
commitcdf3495bb3e46b30d450a419bc36b2ba0eb95ae3 (patch)
treefb05ad5c84e456dd63dd9e0c8111095db5775cd9
parentd5d0068ca77c5504f3fff751525695a3aafd6a3e (diff)
downloadorg.eclipse.tcf-cdf3495bb3e46b30d450a419bc36b2ba0eb95ae3.tar.gz
org.eclipse.tcf-cdf3495bb3e46b30d450a419bc36b2ba0eb95ae3.tar.xz
org.eclipse.tcf-cdf3495bb3e46b30d450a419bc36b2ba0eb95ae3.zip
TCF Debugger: added display of thread state properties "Context" and "CPU" in Debug view.
-rw-r--r--plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFNodeExecContext.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFNodeExecContext.java b/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFNodeExecContext.java
index af3127b7f..2621329ca 100644
--- a/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFNodeExecContext.java
+++ b/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFNodeExecContext.java
@@ -935,6 +935,18 @@ public class TCFNodeExecContext extends TCFNode implements ISymbolOwner {
if (r == null) r = "Suspended";
label.append(" (");
label.append(r);
+ if (state_data.suspend_params != null) {
+ String prs = (String)state_data.suspend_params.get("Context");
+ if (prs != null) {
+ label.append(", ");
+ label.append(prs);
+ }
+ String cpu = (String)state_data.suspend_params.get("CPU");
+ if (cpu != null) {
+ label.append(", ");
+ label.append(cpu);
+ }
+ }
label.append(")");
}
}

Back to the top