Eclipse Debug configuration is similar to run configuration but it is used to start the application in debug mode.
1. Mark breakpoints
2 Right-click the blank part, click debug as, and run it as java applica
3. Pop-up window, click yes
4. The following interface pops up (the color part is the currently running line)
5.4. Press F6 (single-step to continue), start executing the next line of code, press F to skip 8 (single-step skip: jump directly to the next breakpoint).
ps: The variables (variable) view can view the value of the variable.
cancel breakpoint
In the Run menu, there are menu items to continue executing (Resume), skip (Step Over) a line of code, enter the function (Step Into) and so on.