Author Topic: How to open console in debug mode (windows)  (Read 3313 times)

Offline rokan1

  • Single posting newcomer
  • *
  • Posts: 3
How to open console in debug mode (windows)
« 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

Offline jarro_2783

  • Multiple posting newcomer
  • *
  • Posts: 99
    • Project Freedom
Re: How to open console in debug mode (windows)
« Reply #1 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.