Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Chuckleluck on October 19, 2011, 12:49:39 am

Title: Removing the Debug Window when Running?
Post by: Chuckleluck on October 19, 2011, 12:49:39 am
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.
Title: Re: Removing the Debug Window when Running?
Post by: Alpha on October 19, 2011, 10:21:33 pm
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.
If so, open Project->Properties...->Build targets (tab) and uncheck "Pause when execution ends" for each build target.
Title: Re: Removing the Debug Window when Running?
Post by: Chuckleluck on October 20, 2011, 05:16:19 pm
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.
Title: Re: Removing the Debug Window when Running?
Post by: MortenMacFly on October 20, 2011, 05:38:18 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.
Change the application type to "GUI" in the project properties.