Index: tools/lldb-vscode/JSONUtils.cpp =================================================================== --- tools/lldb-vscode/JSONUtils.cpp +++ tools/lldb-vscode/JSONUtils.cpp @@ -287,7 +287,7 @@ object.try_emplace("verified", true); const auto bp_id = bp_loc.GetBreakpoint().GetID(); - const auto vs_id = (int64_t)(((int64_t)bp_id << 32) | bp_loc.GetID()); + const auto vs_id = (int64_t)((bp_id << 16) | bp_loc.GetID()); object.try_emplace("id", vs_id); auto bp_addr = bp_loc.GetAddress(); if (bp_addr.IsValid()) { Index: tools/lldb-vscode/LLDBUtils.cpp =================================================================== --- tools/lldb-vscode/LLDBUtils.cpp +++ tools/lldb-vscode/LLDBUtils.cpp @@ -66,8 +66,8 @@ } int64_t MakeVSCodeFrameID(lldb::SBFrame &frame) { - return (int64_t)frame.GetThread().GetIndexID() << 32 | - (int64_t)frame.GetFrameID(); + return (int32_t)frame.GetThread().GetIndexID() << 16 | + (int32_t)frame.GetFrameID(); } } // namespace lldb_vscode