Code::Blocks Forums

User forums => Help => Topic started by: rokan1 on April 15, 2009, 07:59:00 pm

Title: How to open console in debug mode (windows)
Post by: rokan1 on April 15, 2009, 07:59:00 pm
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
Title: Re: How to open console in debug mode (windows)
Post by: jarro_2783 on April 21, 2009, 12:40:13 am
In project options, is the target a console target, or a GUI target? Try making it console if it's not.