c - How to see the output console (I.E. stdout) when debugging with Xcode 5? -
i've searched questions asking this, i've seen many answers opening console i'm showing on screenshot, see console of command line debugger lldb, not application's output.
printf
line buffered , requires \n
or flush force print output.
if change code include following line after every printf
work way want.
printf("something want in console"); // either of next 2 lines should work putchar('\n'); fflush(stdout);
Comments
Post a Comment