May 2010
Intermediate to advanced
1272 pages
61h 18m
English
The Locals window shows the active local variables and their values. Considering the example in Listing 5.1, when stepping into the Main method the Local window shows information about lineRead and result variables, as shown in Figure 5.6.
Figure 5.6 The Locals window shows information on local variables.

As you can see, the window shows names of the local variables, their types (in our example Boolean and String), and their actual values. When a variable is not initialized yet, the window shows the default value (for example, Nothing for reference types and zero for Integers). Moreover, if a variable represents an object such as ...
Read now
Unlock full access