Given a double d, I can print it,
(lldb) expr d
(double) $2 = 3.05658e-08
Is there a way to print more digits of d, such as
printf("%.15f", d) ?
Version of LLDB in question is LLDB-112.2, supplied with OS X 10.7.4
EDIT: Using
(lldb) expr (int) printf("%.15f", d)
results in the process being killed, with a
LLVM ERROR: Internal relocations not supported.
error message.
lldb-112.2 is a little old at this point (I think it is about six or seven months old); checking it against the Xcode 4.5 lldb (lldb-167 or so), it looks like it works correctly now.