Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2017-06-14 18:14:19 +0000
committerEugene Tarassov2017-06-14 18:14:19 +0000
commit64d6d4fdaf51414d009ebc5d123363163f41ead0 (patch)
tree5f8a3c5843770738f9af66460b79864f43b8e2e3 /plugins
parentcc91ed00691a3afb0fc85e250b3b98924f491ed0 (diff)
downloadorg.eclipse.tcf-64d6d4fdaf51414d009ebc5d123363163f41ead0.tar.gz
org.eclipse.tcf-64d6d4fdaf51414d009ebc5d123363163f41ead0.tar.xz
org.eclipse.tcf-64d6d4fdaf51414d009ebc5d123363163f41ead0.zip
TCF Debugger: fixed display of zero size values in the Variables view
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFNodeExpression.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFNodeExpression.java b/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFNodeExpression.java
index 8ac27247d..f9b585dd7 100644
--- a/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFNodeExpression.java
+++ b/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFNodeExpression.java
@@ -1737,6 +1737,9 @@ public class TCFNodeExpression extends TCFNode implements IElementEditor, ICastT
bf.append(s);
bf.append('\n');
}
+ else if (size == 0) {
+ bf.append("N/A", StyledStringBuffer.MONOSPACED);
+ }
else if (type_class == ISymbols.TypeClass.integer ||
type_class == ISymbols.TypeClass.real ||
type_class == ISymbols.TypeClass.complex) {

Back to the top