User forums > Using Code::Blocks

Removing the Debug Window when Running?

(1/1)

Chuckleluck:
How do I remove the debug console window that appears whenever I compile/run my project?  It gets really annoying having to close that window each time I am finished testing the program.

Alpha:
Are you referring to cb_console_runner (the program that pauses execution and displays something like the following message)?

--- Code: ---Process returned 0 (0x0)   execution time : 9.944 s
Press any key to continue.

--- End code ---
If so, open Project->Properties...->Build targets (tab) and uncheck "Pause when execution ends" for each build target.

Chuckleluck:
I'm referring to the console window that appears when I run my project, it's title is:
"C:\[Project Path]\bin\Debug\[Project Name]
Unticking that box makes the window close when I close the main program window, but I don't want that debug window to appear at all.

MortenMacFly:

--- Quote from: Chuckleluck on October 20, 2011, 05:16:19 pm ---Unticking that box makes the window close when I close the main program window, but I don't want that debug window to appear at all.

--- End quote ---
Change the application type to "GUI" in the project properties.

Navigation

[0] Message Index

Go to full version