================ @@ -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:
BTW, Sync vrs. Async really should be a property of the process not the debugger. It doesn't so much matter when there's one target/process per debugger, but if you have multiple processes, you can't guarantee that all of them want to be in either sync or async mode at the same time. https://github.com/llvm/llvm-project/pull/137900 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits