aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectThread.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2023-03-15 11:20:20 -0700
committerJim Ingham <jingham@apple.com>2023-03-15 16:45:14 -0700
commitfe61b38258bf4c5f34c32de26f4ed11ef5c32ebc (patch)
tree749c0ee49b856c7536015fd6123e2013eb75d421 /lldb/source/Commands/CommandObjectThread.cpp
parenta0a76804c4b56058ba3dcd7374bcaec2fec3978e (diff)
downloadllvm-fe61b38258bf4c5f34c32de26f4ed11ef5c32ebc.zip
llvm-fe61b38258bf4c5f34c32de26f4ed11ef5c32ebc.tar.gz
llvm-fe61b38258bf4c5f34c32de26f4ed11ef5c32ebc.tar.bz2
Add a Debugger interruption mechanism in conjunction with the
Command Interpreter mechanism. Differential Revision: https://reviews.llvm.org/D145136
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectThread.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}