Using the debugger, you can locate and correct bugs in your program. The following steps introduce you to debugging in the IDE.
To step through the code:
The line is highlighted to indicate a breakpoint was set.
A debugging session begins and the program runs until it reaches the breakpoint. The IDE switches to the debugging workspace, which displays:
The next method call is highlighted.
The first line in the main method is highlighted.
The breakpoint is removed.
Next:![]() Back: ![]() |