F5 works, but Ctrl-F5 fails

General questions regarding the usage of CodeLite
tankist02
CodeLite Veteran
Posts: 56
Joined: Thu Sep 22, 2011 11:29 pm
Genuine User: Yes
IDE Question: c++
Contact:

F5 works, but Ctrl-F5 fails

Post by tankist02 »

I am using CL 4.0.5603 built on CentOS 6.2 x86_64 fully updated.

Debugging (F5) works, but running the program without debugging (Ctrl-F5) fails with error code -1. In the output window Running program message looks correct.

Console window (with my program output) disappears as soon as the program finishes, even though I ticked "Pause when execution ends"

Debugger console prints a lot of messages which are promptly erased when the program finishes. Is there a way to save the messages in case I want to peruse them?

Are there any tips for debugging C++ code? I mean quickly looking at variables values, primitive and objects of std::vector, std::map, etc. For now I have to add watch and drill down inside containers to try to understand what they contain.