Double-click the line number of the line for which you want to check the operation and mark it with ●. (● mark: called "breakpoint")
Select Debug from the Run menu or click Debug on the toolbar to start debugging. Switch perspectives for debugging.
(1) Lines marked with ● will be stopped before execution. (2) Check the value of variables and the order of execution. ③ Click "Resume" on the toolbar to continue execution. ④ After checking all the lines, switch the perspective to "Java".
Recommended Posts