MyEclipse How to Debug
- |
- Browse:882
- |
- Updated: 2014-03-13 17:38
Step through Reading
When the program is written well, how to debug it?
We add breakpoints to MyEclipse in Jav, run debug as-->open debug Dialog, then select Class in the dialog box and run in the Debug view. 2.f5 and F6 keys are single-step debugging, F5 is step into, that is, to enter the bank code to execute, F6 is step over, that is, execute our code, jump to the next line,
Method/Step
-
On the left side of the editing program, you'll see a shallow gray taping, Here we set the breakpoint.
-
There are many ways to set breakpoints, method: 1, double-click; 2. Right click, select "Toggle breakprint" 3, shortcut key: " Shift + Alt +b "
-
Click Run Debug, go to the debug interface, we use to get the main upper left corner.
-
can be seen here that is worth changing.
-
Click to exit.