[Lldb-commits] [lldb] [lldb-dap] Show assembly depending on `stop-disassembly-display` settings (PR #136494)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Wed Apr 23 15:31:06 PDT 2025
================
@@ -202,6 +202,10 @@ struct DAP {
lldb::SBFormat frame_format;
lldb::SBFormat thread_format;
+
+ /// The value of stop-disassembly-display setting in LLDB.
+ std::string stop_disassembly_display;
----------------
JDevlieghere wrote:
I'm wondering if we should be caching this. Querying the debugger for a setting should be cheap enough that we could do it whenever we need to know. The added benefit is that you'll be able to change the setting and have it take immediate effect, while with the current approach you'd have to create new debug session.
Personally I'm leaning toward computing this once per request.
https://github.com/llvm/llvm-project/pull/136494
More information about the lldb-commits
mailing list