ConsoleWindow won't stay open with F5
-
- CodeLite Curious
- Posts: 2
- Joined: Fri Sep 06, 2013 8:03 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
ConsoleWindow won't stay open with F5
So I'm new to C++ and CodeLite. When I run a program by pressing F5, the console window won't stay open. It closes immediately. However, when I manually click on "Run" under the build tab, it seems to work fine. This seems odd to me...
-
- CodeLite Curious
- Posts: 8
- Joined: Thu Sep 05, 2013 9:08 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: ConsoleWindow won't stay open with F5
F5 starts the debugger, so if you want it to stay open just place a break point somewhere...tomizzo11 wrote:So I'm new to C++ and CodeLite. When I run a program by pressing F5, the console window won't stay open. It closes immediately. However, when I manually click on "Run" under the build tab, it seems to work fine. This seems odd to me...
Ctrl-F5 runs the program without the debugger
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 2
- Joined: Fri Sep 06, 2013 8:03 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: ConsoleWindow won't stay open with F5
Thanks so much. I must have misread something.