PDA

View Full Version : debugging in ecliose



babu198649
21st December 2007, 06:41
hi
is it possible to execute every statement by statement(after every key pressed) in eclipse .

marcel
21st December 2007, 07:01
Yes, but you have to run your application in debug mode, which implies that Qt was also built in debug mode. Also, you need to have gdb installed. It comes in a separate package than MinGW.

The main keys are: F5 - Step Into, F6 - Step Over, F7 - Step Out and F8 - Continue.

katrina
21st December 2007, 19:54
As a side note, I have fallen in love with C++ debugging in Eclipse. Instant access to everything without having to remember gdb commands is awesome! Plus, you can still interact directly with gdb in case there is something you want to do that is not provided by the gui :-D you can't beat it.