Skip to content

Commit e87b8e4

Browse files
committed
[lldb] Log the actual expression result in UserExpression::Evaluate
This used to be a LLDB_LOGF call that used the printf %s syntax. 0ab109d changed it to LLDB_LOG but didn't update this format string to use formatv's syntax so this just printed '%s'.
1 parent bad0290 commit e87b8e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Expression/UserExpression.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ UserExpression::Evaluate(ExecutionContext &exe_ctx,
362362

363363
LLDB_LOG(log,
364364
"== [UserExpression::Evaluate] Execution completed "
365-
"normally with result %s ==",
365+
"normally with result {0} ==",
366366
result_valobj_sp->GetValueAsCString());
367367
} else {
368368
LLDB_LOG(log, "== [UserExpression::Evaluate] Execution completed "

0 commit comments

Comments
 (0)