[Lldb-commits] [lldb] lldb-dap: Stop using replicated variable ids (PR #124232)
Anthony Eid via lldb-commits
lldb-commits at lists.llvm.org
Sun Dec 7 13:54:12 PST 2025
================
@@ -62,7 +97,11 @@ struct Variables {
/// These are the variables evaluated from debug console REPL.
llvm::DenseMap<int64_t, lldb::SBValue> m_referencedpermanent_variables;
- int64_t m_next_temporary_var_ref{VARREF_FIRST_VAR_IDX};
+ /// Key = frame_id
+ /// Value = (locals, globals Registers) scopes
+ std::map<uint32_t,
+ std::tuple<lldb::SBValueList, lldb::SBValueList, lldb::SBValueList>>
+ m_frames;
----------------
Anthony-Eid wrote:
Would you still want to do something similar here now that we're using the dap_frame_id as the key?
https://github.com/llvm/llvm-project/pull/124232
More information about the lldb-commits
mailing list