[lldb] Don't report progress in the REPL
Don't report progress events in the REPL. Most of the progress events are debugger specific which are useful when you're debugging, but not so much when you're waiting for the next line to be executed in the REPL. This patch disables reporting of progress events when in REPL mode. rdar://91502950 Differential revision: https://reviews.llvm.org/D123426
This commit is contained in:
@@ -25,6 +25,7 @@ using namespace lldb_private;
|
||||
REPL::REPL(LLVMCastKind kind, Target &target) : m_target(target), m_kind(kind) {
|
||||
// Make sure all option values have sane defaults
|
||||
Debugger &debugger = m_target.GetDebugger();
|
||||
debugger.SetShowProgress(false);
|
||||
auto exe_ctx = debugger.GetCommandInterpreter().GetExecutionContext();
|
||||
m_format_options.OptionParsingStarting(&exe_ctx);
|
||||
m_varobj_options.OptionParsingStarting(&exe_ctx);
|
||||
|
||||
Reference in New Issue
Block a user