1.ecplise Commissioning
1. Set breakpoints
Put a breakpoint inside the program, that is, double-click on the left side of the program where you want to place the breakpoint. Shortcut keys???
2. Commissioning
or right-click the program and select Debug AS (Debug) Java application (Java application), you can debug the program.
3. Debugging shortcut keys
After running the Java program in debug mode
(F5) Step execution procedure, enter when encountering method;
(F6) stepping through the program, skipping when encountering a method; similar to F10
(F7) stepping through the program, jumping out of the current method; similar to F11
(F8) executes the program directly. Pauses when a breakpoint is encountered;
According to F5 is a layer of depth of debug equivalent to Peel onion samples, will enter each method inside;
Pressing F6 is a step-by-step debug in the current function, ignoring the deep-seated operation;
Pressing F7 is if you are currently inside a method, jump to the end code of the method;
Press F8 is if there is a breakpoint at the back, run to the next breakpoint, or run out of program;
In addition, when debugging, there will be a lot of useful information displayed in the Debug box, such as stack information, you need to practice, in the program interface, the mouse pointer over the variable will have the current variable property values.
Java HTTP Self-study summary.