[Lldb-commits] [lldb] [lldb] Add a progress event for executing an expression (PR #119757)
via lldb-commits
lldb-commits at lists.llvm.org
Thu Dec 12 13:36:26 PST 2024
================
@@ -424,6 +425,14 @@ UserExpression::Execute(DiagnosticManager &diagnostic_manager,
const EvaluateExpressionOptions &options,
lldb::UserExpressionSP &shared_ptr_to_me,
lldb::ExpressionVariableSP &result_var) {
+ Debugger *debugger =
+ exe_ctx.GetTargetPtr() ? &exe_ctx.GetTargetPtr()->GetDebugger() : nullptr;
+ Progress progress("Running expression",
+ m_options.IsForUtilityExpr()
+ ? "(LLDB utility)"
----------------
jimingham wrote:
I don't think utility functions ever get run through UserExpression::Execute, do they? If you want to report utility functions, you need to send progress from `FunctionCaller::ExecuteFunction`.
https://github.com/llvm/llvm-project/pull/119757
More information about the lldb-commits
mailing list