We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cde5bc commit 5165914Copy full SHA for 5165914
lldb/tools/lldb-dap/lldb-dap.cpp
@@ -2882,9 +2882,10 @@ void request_setBreakpoints(const llvm::json::Object &request) {
2882
const auto *bp_obj = bp.getAsObject();
2883
if (bp_obj) {
2884
SourceBreakpoint src_bp(g_dap, *bp_obj);
2885
- request_bps.try_emplace(src_bp.line, src_bp);
+ std::pair<uint32_t, uint32_t> bp_pos(src_bp.line, src_bp.column);
2886
+ request_bps.try_emplace(bp_pos, src_bp);
2887
const auto [iv, inserted] =
- g_dap.source_breakpoints[path].try_emplace(src_bp.line, src_bp);
2888
+ g_dap.source_breakpoints[path].try_emplace(bp_pos, src_bp);
2889
// We check if this breakpoint already exists to update it
2890
if (inserted)
2891
iv->getSecond().SetBreakpoint(path.data());
0 commit comments