[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:00 PST 2025


================
@@ -1259,7 +1259,7 @@ lldb::SBValue SBValue::EvaluateExpression(const char *expr,
   return result;
 }
 
-bool SBValue::GetDescription(SBStream &description) {
+bool SBValue::GetDescription(SBStream &description, bool short_mode) {
----------------
ashgti wrote:

I wonder if we need to add a `SBValueDescriptionOptions` that includes a few more of the potential values for customizing the description. 

Maybe that. can be a separate PR, but I wonder if we could use this to simplify VariableDescription and maybe have it generate the auto-summaries.

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


More information about the lldb-commits mailing list