[Lldb-commits] [lldb] [lldb-dap] Add an RAII helper for synchronous mode (NFC) (PR #137900)
via lldb-commits
lldb-commits at lists.llvm.org
Wed Apr 30 09:46:55 PDT 2025
================
@@ -235,4 +235,15 @@ std::string GetStringValue(const lldb::SBStructuredData &data) {
return str;
}
+ScopeSyncMode::ScopeSyncMode(lldb::SBDebugger &debugger)
+ : m_debugger(debugger) {
+ assert(m_debugger.GetAsync() && "Debugger not in asynchronous mode!");
----------------
jimingham wrote:
And sync vrs. async is purely a matter of what we do with process events, so it could reasonably be a process property.
https://github.com/llvm/llvm-project/pull/137900
More information about the lldb-commits
mailing list