================ @@ -295,9 +295,11 @@ bool BreakpointBase::BreakpointHitCallback( frame.GetValueForVariablePath(expr, lldb::eDynamicDontRunTarget); if (value.GetError().Fail()) value = frame.EvaluateExpression(expr); - const char *expr_val = value.GetValue(); - if (expr_val) - output += expr_val; + llvm::StringRef summary_str = value.GetSummary(); + if (!summary_str.empty()) + output += summary_str.str(); + else + output += value.GetValue(); ---------------- jeffreytan81 wrote:
Sure, I can do that. https://github.com/llvm/llvm-project/pull/71723 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits