Information Technology Reference
In-Depth Information
NOTE
System object instance variables are typically prefixed with an underscore character. They may not be listed in the
documentation. Examining them can give you useful insights into how system objects are organized and how they
work with each other.
The useful detail in this example is the i = (int) 32 entry at the bottom of the window. This is a placeholder
for the i loop counter, which hasn't yet been initialized. Use the Step Over button to step through the loop. You
see the value is initialized to 0 and incremented on each repeat. Figure 15.13 shows how the value is updated in
the Variables View before the log message prints it to the Console.
FIGURE 15.13
A typical combined debugging session that combines information from the Variables View with messages on the
console
TIP
You don't need to use the right-click contextual menu to display the edit box for a variable. As a shortcut, you can
simply double-click the value.
Working with values
Search WWH ::




Custom Search