Skip to content

Commit

Permalink
fix breakpoints removing
Browse files Browse the repository at this point in the history
  • Loading branch information
nulld committed Apr 10, 2019
1 parent 2420227 commit 5b7ccfa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion hxcpp-debug-server/hxcpp/debug/jsonrpc/Server.hx
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ class Server {
bInfo.id = Debugger.addFileLineBreakpoint(path2file[path2Key(params.file)], bInfo.line);
result.push(bInfo);
}
breakpoints[params.file] = result;
breakpoints[path2Key(params.file)] = result;
m.result = [for (b in result) b.id];

case Protocol.Pause:
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,4 @@
"publisherDisplayName": "vshaxe",
"publisherId": "bdf58939-bf37-40d4-9543-90fcc14fd490"
}
}
}

0 comments on commit 5b7ccfa

Please sign in to comment.