Java Reference
In-Depth Information
F.2.3 Step Into
The Step Into button resumes execution at the current statement. If this statement is a method
call, then execution will “step into” that method and be paused at the first statement inside it.
F.2.4 Continue
The Continue button resumes execution until the next breakpoint is reached, execution is inter-
rupted via the Halt button, or the execution completes normally.
F.2.5 Terminate
The Terminate button aggressively finishes execution of the current program such that it cannot
be resumed again. If it is simply desired to interrupt the execution in order to examine the cur-
rent program state, then the Halt operation is preferred.
F.3
The variable displays
Figure F.4 shows all three variable display areas active at a breakpoint, in an example taken
from the predator-prey simulation discussed in Chapter 10. Static variables are displayed in the
upper area, instance variables in the middle area, and local variables in the lower area.
Figure F.4
Active-variable
displays
When a breakpoint is reached, execution will be halted at a statement of an arbitrary object
within the current program. The Static variables area displays the values of the static variables
defined in the class of that object. The Instance variables area displays the values of that particu-
lar object's instance variables. Both areas also include any variables inherited from superclasses.
Search WWH ::




Custom Search