aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Coutand2012-12-19 08:48:59 (EST)
committerEugene Tarassov2012-12-21 12:18:13 (EST)
commitfb9a0711f43affb2d2699119add66549261ea347 (patch)
tree651cc4ef1e727b9f608e0e80c8e78198d0bcc15d
parent2f2515158da033c0ad488f70ba3ebdcd508b826f (diff)
downloadorg.eclipse.tcf-fb9a0711f43affb2d2699119add66549261ea347.zip
org.eclipse.tcf-fb9a0711f43affb2d2699119add66549261ea347.tar.gz
org.eclipse.tcf-fb9a0711f43affb2d2699119add66549261ea347.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 db6f087..baa1a8b 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
@@ -469,6 +469,7 @@ public class TCFNodeExecContext extends TCFNode implements ISymbolOwner, ITCFExe
// 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;
@@ -478,6 +479,7 @@ public class TCFNodeExecContext extends TCFNode implements ISymbolOwner, ITCFExe
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();