User forums > Help

How to open console in debug mode (windows)

(1/1)

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.

Navigation

[0] Message Index

Go to full version