selected object node shows an int type with a value of 1, and a boolean type with a value of true.

For instances, classes, and arrays (except string and char arrays), the Value column shows the object id. For example, the Attributes table for the selected object node shows an array type MyElement3[ ] with an object id value of 74afb930.

For string and char arrays, see “String and char arrays” (page 148).

In Figure 8-20, the same object node (VecTest3) is selected in the tree, but with the table showing the Statics tab, which displays a list of the static fields in the object.

Figure 8-20 Reference Sub-Trees by Size Visualizer – Statics Table

String and char arrays

For string and character arrays, the Value column has been enhanced to show the string or char value, not the object id, in the table cell. In Figure 8-21 (page 149), for example, the Attributes table for the selected object node shows a String type with a value beginning with ‘There either is or is not,…’, which is too long to fit in the table. If a string is too long, you can mouse over it to display a tooltip pop-up box containing the entire string. You can also double-click the string value to display a pop-up window containing the entire string content, which remains until you close it.

148 Using Visualizer Functions