From fe61b38258bf4c5f34c32de26f4ed11ef5c32ebc Mon Sep 17 00:00:00 2001 From: Jim Ingham Date: Wed, 15 Mar 2023 11:20:20 -0700 Subject: Add a Debugger interruption mechanism in conjunction with the Command Interpreter mechanism. Differential Revision: https://reviews.llvm.org/D145136 --- lldb/source/Commands/CommandObjectThread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/Commands/CommandObjectThread.cpp') diff --git a/lldb/source/Commands/CommandObjectThread.cpp b/lldb/source/Commands/CommandObjectThread.cpp index 411f28d..f06d4bd 100644 --- a/lldb/source/Commands/CommandObjectThread.cpp +++ b/lldb/source/Commands/CommandObjectThread.cpp @@ -228,7 +228,7 @@ protected: thread->GetIndexID()); return false; } - if (m_options.m_extended_backtrace) { + if (m_options.m_extended_backtrace && !GetDebugger().InterruptRequested()) { DoExtendedBacktrace(thread, result); } -- cgit v1.1