Commit 228e3f81 authored by Benedikt Engeser's avatar Benedikt Engeser

automapping

parent afd95918
......@@ -57,7 +57,7 @@ public class GetDebuggerMappingVisitor extends Visitor<Object>
if (range != null) {
for (int line : lines) {
if (line >= node.getBegin().getLine() &&
line >= node.getEnd().getLine())
line <= node.getEnd().getLine())
{
int lineOffset = line - node.getBegin().getLine();
mappings.add(new Mapping(node.getDebugId(), lineOffset));
......
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