Actually i have written a small program on division, now i want see the control flow means how the line of code is executing and calling the methods and function step by step.
But when am run the program in debug mode nothing is showing
You must first place a breakpoint. You place somewhere in your code and when you debug, the code runs up until that point and stops. You can then see all the values of the variables that have been initialized up to that point. Then you have some options where you can continue line by line and observe the code and the values.
To place a breakpoint in eclipse simply right click at the left side of the editor where the line numbers are.
I mostly debug in SpringSource (which is Eclipse based) so I'm just speaking about Eclipse and SpringSource here.
you can start debugging, jumpt to the next executed line, to the next executed line in the same class, to the next line you run over which has a breakpoint on it, ...
the different steps you choose by pushing f5-f6-f7-f8.