<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="LASTUPDATED" content="06/17/05 11:09:43" />
<title>ArrayWindow</title>
<link rel="StyleSheet" href="../../book.css" type="text/css"/>
</head>
<body bgcolor="#FFFFFF">
<h2>Array Window</h2>
<p> The <b>Array</b> window allows manipulation of a contiguous block of memory, displayed as an array of elements. The window lists array contents sequentially, starting at
element 0.</p>
<p>The Array window title shows the base address bound to the array. The base address can bind to an address, a variable, or a register. An array bound to a local variable closes after the routine that defines the variable returns to the calling routine.</p>
<p>For array elements cast as structured types, a hierarchical control appears to the left of each element. Use these hierarchical controls to expand or collapse the display of each element’s contents.</p>
<p>Figure 1 shows an Array window. Table 1 explains the items in the window.</p>
<p class="figure">Figure 1 Array window</p>
<p> </p>
<h5>Table 1 Array window—items </h5>
<table width="100%" border="0" cellpadding="2" cellspacing="0">
<tr>
<th width="25%" scope="col">Item</th>
<th width="21%" scope="col">Icon</th>
<th width="54%" scope="col">Explanation</th>
</tr>
<tr>
<td>Hierarchical control</td>
<td> </td>
<td>Click to collapse the view of the information pane.</td>
</tr>
<tr>
<td>Bind To</td>
<td> </td>
<td>Select the base address of the array: Address, Variable, or Register.</td>
</tr>
<tr>
<td>Array size</td>
<td> </td>
<td>Enter the number of elements to display in the Array window.</td>
</tr>
<tr>
<td>Struct Member</td>
<td> </td>
<td>Select a specific member to show in each element, or show all members.</td>
</tr>
<tr>
<td>Element</td>
<td> </td>
<td>Shows the array elements in a hierarchical list.</td>
</tr>
<tr>
<td>Value</td>
<td> </td>
<td>Shows the value of each array element.</td>
</tr>
<tr>
<td>Location</td>
<td> </td>
<td>Shows the address in memory of each array element.</td>
</tr>
</table>
<div class="step">
<h5>Opening an Array Window</h5>
<p> Use the View Array command to manipulate a memory block in an Array window.</p>
<ol>
<li>Select the array that you want to view.</li>
<li>Select Data > View Array.</li>
<p>A new Array window appears.</p>
</ol>
</div>
<p class="note"><b>TIP</b> Drag and drop a register or variable name into an Array window to set the base address. Use the View Memory As command to interpret memory displayed in an Array window as a different type.</p>
<p>Alternatively, use a contextual menu to open an Array window, as explained in Table 2.</p>
<h5>Table 2 Opening an Array window by using a context menu </h5>
<table width="77%" border="0" cellpadding="2" cellspacing="0">
<tr>
<th width="31%" scope="col">On this host…</th>
<th width="69%" scope="col">Do this…</th>
</tr>
<tr>
<td>Windows</td>
<td>Right-click the array and select View Array.</td>
</tr>
<tr>
<td>Solaris</td>
<td>Click and hold on the array, then select View Array.</td>
</tr>
<tr>
<td>Linux</td>
<td>Click and hold on the array, then select View Array.</td>
</tr>
</table>
<p><br />
</p>
<div id="footer">Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. <br>License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a></div>
</body>
</html>