Q:

Debugging Java code line by line

Is it possible to debug code line by line in Eclipse showing which line is executing so that I understand the logic of the code?  I'm new to programming, please give me suitable advice. 

A:

It is possible if you launch your program in debug mode:

put a breakpoint in the section you want to debug. 
Here is a quick tutorial to make a Debug launch configuration:

