Stepping through a program using Eclipse IDE

3.6k views Asked by At

How do I step through the program one line at time.

Also, how do I view the console input?

I recently installed Eclipse IDE here:

http://www.eclipse.org/downloads/

Eclipse IDE for C/C++ Developers (includes Incubating components)

Here is a snapshot of the where I am at

1

There are 1 answers

5
FailedDev On BEST ANSWER

Go to Run, Debug Configurations and click the Debugger tab.

Make sure that there is a gdb debugger selected. If not click Browse find the gdb.exe. It will probably be in your installation directory (of eclipse I mean under the /bin subdir).

Hope it helped. :D