News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

How to open console in debug mode (windows)

Started by rokan1, April 15, 2009, 07:59:00 PM

Previous topic - Next topic

rokan1

Hi, for debugging I send in some places some info using printf(...) to console, which shows just fine when running program (yes, I have linking switch  Wl, subsystem:console on).
But when I run the debug within codeblocks (Debug->Start), this window never appear. Is there a possibility to display the messages from stdin or stderr when debugging (using gdb) under code::blocks IDE?

Thanks,
Roman

jarro_2783

In project options, is the target a console target, or a GUI target? Try making it console if it's not.