core/com.nokia.carbide.cpp.doc.user/html/reference/view_mem_array.htm
branchC3_BUILDER_WORK
changeset 1657 03f5f8bf29b4
parent 1656 d1edeecb12af
parent 1655 e17ab99b8f30
child 1659 48d0d704d5e6
equal deleted inserted replaced
1656:d1edeecb12af 1657:03f5f8bf29b4
     1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
       
     2 <html>
       
     3 <head>
       
     4 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
       
     5 <meta http-equiv="Content-Style-Type" content="text/css" />
       
     6 <meta name="LASTUPDATED" content="06/17/05 11:09:43" />
       
     7 <title>ArrayWindow</title>
       
     8 <link rel="StyleSheet" href="../../book.css" type="text/css"/>
       
     9 </head>
       
    10 <body bgcolor="#FFFFFF">
       
    11 <h2>Array Window</h2>
       
    12 <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
       
    13 element 0.</p>
       
    14 <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>
       
    15 <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&rsquo;s contents.</p>
       
    16 <p>Figure 1 shows an Array window. Table 1 explains the items in the window.</p>
       
    17 <p class="figure">Figure 1 Array window</p>
       
    18 <p>&nbsp;</p>
       
    19 <h5>Table 1 Array window&mdash;items </h5>
       
    20 <table width="100%"  border="0" cellpadding="2" cellspacing="0">
       
    21   <tr>
       
    22     <th width="25%" scope="col">Item</th>
       
    23     <th width="21%" scope="col">Icon</th>
       
    24     <th width="54%" scope="col">Explanation</th>
       
    25   </tr>
       
    26   <tr>
       
    27     <td>Hierarchical control</td>
       
    28     <td>&nbsp;</td>
       
    29     <td>Click to collapse the view of the information pane.</td>
       
    30   </tr>
       
    31   <tr>
       
    32     <td>Bind To</td>
       
    33     <td>&nbsp;</td>
       
    34     <td>Select the base address of the array: Address, Variable, or Register.</td>
       
    35   </tr>
       
    36   <tr>
       
    37     <td>Array size</td>
       
    38     <td>&nbsp;</td>
       
    39     <td>Enter the number of elements to display in the Array window.</td>
       
    40   </tr>
       
    41   <tr>
       
    42     <td>Struct Member</td>
       
    43     <td>&nbsp;</td>
       
    44     <td>Select a specific member to show in each element, or show all members.</td>
       
    45   </tr>
       
    46   <tr>
       
    47     <td>Element</td>
       
    48     <td>&nbsp;</td>
       
    49     <td>Shows the array elements in a hierarchical list.</td>
       
    50   </tr>
       
    51   <tr>
       
    52     <td>Value</td>
       
    53     <td>&nbsp;</td>
       
    54     <td>Shows the value of each array element.</td>
       
    55   </tr>
       
    56   <tr>
       
    57     <td>Location</td>
       
    58     <td>&nbsp;</td>
       
    59     <td>Shows the address in memory of each array element.</td>
       
    60   </tr>
       
    61 </table>
       
    62 <div class="step">
       
    63   <h5>Opening an Array Window</h5>
       
    64   <p> Use the View Array command to manipulate a memory block in an Array window.</p>
       
    65   <ol>
       
    66     <li>Select the array that you want to view.</li>
       
    67     <li>Select Data &gt; View Array.</li>
       
    68     <p>A new Array window appears.</p>
       
    69   </ol>
       
    70 </div>
       
    71 <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>
       
    72 <p>Alternatively, use a contextual menu to open an Array window, as explained in Table 2.</p>
       
    73 <h5>Table 2 Opening an Array window by using a context menu </h5>
       
    74 <table width="77%"  border="0" cellpadding="2" cellspacing="0">
       
    75   <tr>
       
    76     <th width="31%" scope="col">On this host&hellip;</th>
       
    77     <th width="69%" scope="col">Do this&hellip;</th>
       
    78   </tr>
       
    79   <tr>
       
    80     <td>Windows</td>
       
    81     <td>Right-click the array and select View Array.</td>
       
    82   </tr>
       
    83   <tr>
       
    84     <td>Solaris</td>
       
    85     <td>Click and hold on the array, then select View Array.</td>
       
    86   </tr>
       
    87   <tr>
       
    88     <td>Linux</td>
       
    89     <td>Click and hold on the array, then select View Array.</td>
       
    90   </tr>
       
    91 </table>
       
    92 <p><br />
       
    93 </p>
       
    94 <div id="footer">Copyright &copy; 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>
       
    95 
       
    96 </body>
       
    97 </html>