How to use breakpoints in Eclipse

Jisson picture Jisson · Jan 19, 2011 · Viewed 130.3k times · Source

I am using the Eclipse IDE. I don't know how effectively put breakpoints in Eclipse and go forward and backward into it. Can anyone help me?

Can anyone suggest a site suitable for me?

Answer

James picture James · Jul 3, 2012

To put breakpoints in your code, double click in the left margin on the line you want execution to stop on. You may alternatively put your cursor in this line and then press Shift+Ctrl+B.

To control execution use the Step Into, Step Over and Step Return buttons. They have the shortcuts F5, F6 and F7 respectively.

To allow execution to continue normally or until it hits the next breakpoint, hit the Resume button or F8.