Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCurtis Windatt2012-11-23 15:46:05 -0500
committerCurtis Windatt2012-11-23 15:46:05 -0500
commit5fb31ba8cc16508d7badad7188202b782054ab4b (patch)
tree203a45f8c992c76646fa2d0c96f1b56ae330c82a /org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model
parente7e877430b987ffdd20ce8a6e44e6c41825c030b (diff)
downloadeclipse.platform.debug-5fb31ba8cc16508d7badad7188202b782054ab4b.tar.gz
eclipse.platform.debug-5fb31ba8cc16508d7badad7188202b782054ab4b.tar.xz
eclipse.platform.debug-5fb31ba8cc16508d7badad7188202b782054ab4b.zip
Bug 394982 - Debug: All references bombs out with a errorv20121123-204605I20121127-0800
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/ExpressionContentProvider.java11
1 files changed, 7 insertions, 4 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/ExpressionContentProvider.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/ExpressionContentProvider.java
index 6cffa2f24..ab6e841d0 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/ExpressionContentProvider.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/ExpressionContentProvider.java
@@ -202,10 +202,13 @@ public class ExpressionContentProvider extends VariableContentProvider {
return true;
}
}
- IValue value = ((IExpression)element).getValue();
- if (value == null) {
- return false;
+ if (element instanceof IExpression){
+ IValue value = ((IExpression)element).getValue();
+ if (value == null) {
+ return false;
+ }
+ return value.hasVariables();
}
- return value.hasVariables();
+ return false;
}
}

Back to the top