Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Leherbauer2014-02-14 15:54:07 +0000
committerAnton Leherbauer2014-02-14 15:54:07 +0000
commitd1789a99b3bcf1194a0c2e2f418a033054a0b081 (patch)
tree13bbd5737028244bb8263f416b0446e7da6a42ba /plugins
parent504eb2ecf6736587fb0cedb536aeb6d5a5645318 (diff)
downloadorg.eclipse.tcf-d1789a99b3bcf1194a0c2e2f418a033054a0b081.tar.gz
org.eclipse.tcf-d1789a99b3bcf1194a0c2e2f418a033054a0b081.tar.xz
org.eclipse.tcf-d1789a99b3bcf1194a0c2e2f418a033054a0b081.zip
TCF Debugger: Omit breakpoint file attribute if only whitespace
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/model/TCFBreakpointsModel.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/model/TCFBreakpointsModel.java b/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/model/TCFBreakpointsModel.java
index e238bd004..10caaafd1 100644
--- a/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/model/TCFBreakpointsModel.java
+++ b/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/model/TCFBreakpointsModel.java
@@ -673,7 +673,7 @@ public class TCFBreakpointsModel {
String file = (String)p.get(ATTR_REQESTED_FILE);
if (file == null || file.length() == 0) file = (String)p.get(ATTR_FILE);
if (file == null || file.length() == 0) file = marker_file;
- if (file != null && file.length() > 0) {
+ if (file != null && file.trim().length() > 0) {
String name = file;
boolean file_mapping = false;
if (capabilities != null) {

Back to the top