diff options
author | Anton Leherbauer | 2014-02-14 15:54:07 +0000 |
---|---|---|
committer | Anton Leherbauer | 2014-02-14 15:54:07 +0000 |
commit | d1789a99b3bcf1194a0c2e2f418a033054a0b081 (patch) | |
tree | 13bbd5737028244bb8263f416b0446e7da6a42ba /plugins | |
parent | 504eb2ecf6736587fb0cedb536aeb6d5a5645318 (diff) | |
download | org.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.java | 2 |
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) { |