Commit 6cf9f65e authored by Benedikt Engeser's avatar Benedikt Engeser

haltende Breakpoints...

parent 91f2e026
......@@ -42,11 +42,15 @@ public class BreakpointMapper {
IJavaLineBreakpoint remote = null;
IFile resource = PluginUtility.findGenerated(((IFile) origin
.getResource()));
if(resource == null){
return;
}
Map<String, Object> attributes = new HashMap<String, Object>();
BufferedReader reader;
try {
reader = new BufferedReader(new InputStreamReader(resource.getContents()));
} catch (CoreException e1) {
e1.printStackTrace();
......
......@@ -30,7 +30,7 @@ public class SimpleDebugLineMatcher implements IDebugLineMatcher {
while ((line = reader.readLine()) != null) {
lineNum++;
for (int debugId : debugIds) {
if (line.endsWith(DEBUG_SYMBOL_PREFIX + debugId)) {
if (line.trim().endsWith(DEBUG_SYMBOL_PREFIX + debugId)) {
found.put(debugId, lineNum + OFFSET);
continue;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment