================
@@ -21,10 +22,19 @@
namespace lldb_dap {
struct Variables {
+ lldb::SBFrame frame; ///< Used for lazy fetching of globals.
lldb::SBValueList locals;
- lldb::SBValueList globals;
+ std::optional<lldb::SBValueList> globals;
lldb::SBValueList registers;
+ /// Set the frame to be used for lazy fetching of globals if needed. Lazy
+ /// getching globals can improve performance and avoid having LLDB fetching
+ /// all file globals even if the user never requests them by expanding the
----------------
royitaqi wrote:
(wording) Pardon my poor English understanding. I feel the sentence will be
more clear (to me) if we change "even if" into "when".
https://github.com/llvm/llvm-project/pull/178800
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits