[Lldb-commits] [lldb] [lldb-dap] Add clipboard context support (PR #170644)

John Harrison via lldb-commits lldb-commits at lists.llvm.org
Thu Dec 4 09:04:02 PST 2025


================
@@ -836,7 +837,7 @@ std::string VariableDescription::GetResult(protocol::EvaluateContext context) {
   // Try the SBValue::GetDescription(), which may call into language runtime
   // specific formatters (see ValueObjectPrinter).
   lldb::SBStream stream;
-  v.GetDescription(stream);
+  v.GetDescription(stream, context == protocol::eEvaluateContextClipboard);
----------------
ashgti wrote:

style nit: Can we add `/*short_mode=*/` for the second param?

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


More information about the lldb-commits mailing list