Page 1 of 1

F5 works, but Ctrl-F5 fails

Posted: Fri Jun 22, 2012 2:51 am
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.