I'm trying to debug the simple Hello World program that ships with Eclipse CDT. Running the program normally works fine, but when its run through debug mode, puts()
doesn't print anything to the console.
I tried running the same program with gdb directly and it works fine, printing "!!!Hello World!!!"
as expected.
Why doesn't puts()
print anything when running in debug mode through Eclipse?
I'm on Windows with MinGW installed, running gcc 4.5.0, gdb 7.2, and CDT 7.0.1