aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Coutand2012-12-19 08:48:59 (EST)
committerEugene Tarassov2013-04-21 22:34:46 (EDT)
commitabe4046c349f0cbb35d60df1e92c8d929667a6d8 (patch)
treeb754a7d94b39147b694c7d446de0cfd427320b95
parent8759e8304d98200d1192f52fcd516f8d4a37c6ff (diff)
downloadorg.eclipse.tcf-abe4046c349f0cbb35d60df1e92c8d929667a6d8.zip
org.eclipse.tcf-abe4046c349f0cbb35d60df1e92c8d929667a6d8.tar.gz
org.eclipse.tcf-abe4046c349f0cbb35d60df1e92c8d929667a6d8.tar.bz2
Fix fully qualified names to add " around names containing /
-rw-r--r--plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFNodeExecContext.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFNodeExecContext.java b/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFNodeExecContext.java
index 19ac877..26d0f32 100644
--- a/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFNodeExecContext.java
+++ b/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFNodeExecContext.java
@@ -465,6 +465,7 @@ public class TCFNodeExecContext extends TCFNode implements ISymbolOwner {
// Add ancestor names
TCFNodeExecContext p = TCFNodeExecContext.this;
ArrayList<String> lst = new ArrayList<String>();
+ if (res.contains("/")) res = "\"" + res + "\"";
lst.add(res);
while (p.parent instanceof TCFNodeExecContext) {
p = (TCFNodeExecContext)p.parent;
@@ -474,6 +475,7 @@ public class TCFNodeExecContext extends TCFNode implements ISymbolOwner {
String name = null;
if (run_ctx_data != null) name = run_ctx_data.getName();
if (name == null) name = "";
+ if (name.contains("/")) name = "\"" + name + "\"";
lst.add(name);
}
StringBuffer bf = new StringBuffer();