Java Reference
In-Depth Information
Figure 11-5. Expanded containing class value this
As you can see, the expanded this listing shows the values of all the class variables (the arrow to the
left of an entry indicates that that entry can be expanded). Clicking on one of them causes details about
it to appear at the bottom of the Variables view. In this case, we can see the RGB values (values for red,
green, and blue) that constitute the color for this particular firework. You can also right-click the entry
and get even more information, but we'll skip that for now. Once you've mastered the basics of
debugging, you can try out those more advanced features.
Stepping:
“Stepping” in debuggers refers to the ability to move to the next execution point in the program. For
convenience, Eclipse offers three kinds of stepping commands: Step Into, Step Over, and Step Return.
Figure 11-6 shows the step buttons on the debug toolbar.
Figure 11-6. Callout of step controls on debug toolbar
You can also use function keys to step. F5 corresponds to Step Into, F6 corresponds to Step Over,
and F7 corresponds to Step Return.
Search WWH ::




Custom Search