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.

enter image description here

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

Popular posts from this blog

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

php - render data via PDO::FETCH_FUNC vs loop -

The canvas has been tainted by cross-origin data in chrome only -