[Lldb-commits] [lldb] [lldb-dap] Increase the evaluate timeout. (PR #214746)

John Harrison via lldb-commits lldb-commits at lists.llvm.org
Fri Aug 14 08:49:06 PDT 2026


================
@@ -124,7 +124,8 @@ TryCreateAutoSummaryForContainer(lldb::SBValue &v) {
     return std::nullopt;
   /// As this operation can be potentially slow, we limit the total time spent
   /// fetching children to a few ms.
-  const auto max_evaluation_time = std::chrono::milliseconds(10);
+  constexpr auto max_evaluation_time =
+      std::chrono::milliseconds(lldb_dap::k_evaluate_timeout_ms / 10);
----------------
ashgti wrote:

Why the  `/ 10`? Should that be factored into `k_evaulate_timeout_ms`?

https://github.com/llvm/llvm-project/pull/214746


More information about the lldb-commits mailing list