Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2011-10-05 17:25:45 -0400
committerEugene Tarassov2011-10-05 17:25:45 -0400
commit57f5c11771a26c9a8473428c9a90bb2c5e8c165d (patch)
tree4661814cf52e5ebfd13a8af5f30cbe91d9f098b2 /plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse
parent76aa890d7465462d76d89ab02ef4482a38d76a32 (diff)
downloadorg.eclipse.tcf-57f5c11771a26c9a8473428c9a90bb2c5e8c165d.tar.gz
org.eclipse.tcf-57f5c11771a26c9a8473428c9a90bb2c5e8c165d.tar.xz
org.eclipse.tcf-57f5c11771a26c9a8473428c9a90bb2c5e8c165d.zip
TCF Debugger: fixed: Pinning the Variables view to a thread results in a blank view.
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/model/TCFModel.java3
-rw-r--r--plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFNode.java4
-rw-r--r--plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFNodeExecContext.java2
-rw-r--r--plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFNodeStackFrame.java2
4 files changed, 5 insertions, 6 deletions
diff --git a/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFModel.java b/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFModel.java
index 44f33f1d8..a9fd4f572 100644
--- a/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFModel.java
+++ b/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFModel.java
@@ -1272,8 +1272,7 @@ public class TCFModel implements IElementContentProvider, IElementLabelProvider,
public void run() {
TCFNode node = pins.get(update.getPresentationContext().getPart());
if (node != null) {
- update.setInputElement(node);
- update.done();
+ node.update(update);
}
else {
if (IDebugUIConstants.ID_BREAKPOINT_VIEW.equals(update.getPresentationContext().getId())) {
diff --git a/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFNode.java b/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFNode.java
index 875308309..8fc01c255 100644
--- a/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFNode.java
+++ b/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFNode.java
@@ -309,7 +309,7 @@ public abstract class TCFNode extends PlatformObject implements Comparable<TCFNo
if (!getData(update, this)) return;
}
else {
- update.setInputElement(update.getElement());
+ update.setInputElement(TCFNode.this);
}
update.setStatus(Status.OK_STATUS);
}
@@ -380,7 +380,7 @@ public abstract class TCFNode extends PlatformObject implements Comparable<TCFNo
* @return false if waiting data retrieval, true if all done.
*/
protected boolean getData(IViewerInputUpdate update, Runnable done) {
- update.setInputElement(update.getElement());
+ update.setInputElement(this);
return true;
}
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 dfc665cbd..81e04b2df 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
@@ -1096,7 +1096,7 @@ public class TCFNodeExecContext extends TCFNode implements ISymbolOwner {
@Override
protected boolean getData(IViewerInputUpdate result, Runnable done) {
- result.setInputElement(result.getElement());
+ result.setInputElement(this);
String view_id = result.getPresentationContext().getId();
if (IDebugUIConstants.ID_VARIABLE_VIEW.equals(view_id)) {
if (!children_stack.validate(done)) return false;
diff --git a/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFNodeStackFrame.java b/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFNodeStackFrame.java
index b81f8f47a..ec6624601 100644
--- a/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFNodeStackFrame.java
+++ b/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFNodeStackFrame.java
@@ -428,7 +428,7 @@ public class TCFNodeStackFrame extends TCFNode {
@Override
protected boolean getData(IViewerInputUpdate result, Runnable done) {
- result.setInputElement(result.getElement());
+ result.setInputElement(this);
String id = result.getPresentationContext().getId();
if (IDebugUIConstants.ID_REGISTER_VIEW.equals(id) || IDebugUIConstants.ID_EXPRESSION_VIEW.equals(id)) {
TCFNodeExecContext exe = (TCFNodeExecContext)parent;

Back to the top