[Lldb-commits] [lldb] Improve VSCode DAP logpoint value summary (PR #71723)

Alex Langford via lldb-commits lldb-commits at lists.llvm.org
Wed Nov 8 15:15:45 PST 2023


================
@@ -295,9 +296,7 @@ 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;
+      output += ValeuToString(value);
----------------
bulbazord wrote:

Typo here -- `ValueToString`

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


More information about the lldb-commits mailing list