[lldb-dev] printf works under lldb but not otherwise

Peter Rowat via lldb-dev lldb-dev at lists.llvm.org
Mon Oct 7 15:40:07 PDT 2019

I have a simple C program that has printf statements.
It produces zero output.
However when it’s run under lldb, it prints correct output. How could this be?

I tried replacing the printf statements by “fprintf” to a file: same behaviour -
   no file created and no output, but under lldb, the file is created with correct output data.

Peter R

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20191007/debd062f/attachment.html>

More information about the lldb-dev mailing list