core/com.nokia.carbide.cpp.doc.user/html/reference/view_global_variables.htm
author fturovic <frank.turovich@nokia.com>
Tue, 02 Mar 2010 14:31:44 -0600
branchRCL_2_4
changeset 1063 c67144afafb0
parent 949 57698352558c
permissions -rw-r--r--
added note on TRK improvements
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
949
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
     2
<html>
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
     3
<head>
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
     4
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
     5
<meta http-equiv="Content-Style-Type" content="text/css" />
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
     6
<meta name="LASTUPDATED" content="06/17/05 11:09:43" />
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
     7
<title>Global Variables Window</title>
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
     8
<link rel="StyleSheet" href="../../book.css" type="text/css"/>
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
     9
</head>
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    10
<body bgcolor="#FFFFFF">
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    11
<h2>Global Variables Window</h2>
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    12
<p>The Global Variables window shows all global and static variables for each process that you debug. You can open separate Global Variables windows for each process in the same build target. Use the window to observe changes in variable values as the program executes.</p>
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    13
<p>Figure 1  shows the Global Variables window.</p>
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    14
<p class="figure">Figure 1 Global Variables window</p>
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    15
<h5>Table 1 Global Variables window&mdash;items </h5>
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    16
<table width="84%"  border="0" cellpadding="2" cellspacing="0">
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    17
  <tr>
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    18
    <th width="28%" scope="col">Item</th>
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    19
    <th width="72%" scope="col">Explanation</th>
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    20
  </tr>
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    21
  <tr>
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    22
    <td><b>File</b></td>
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    23
    <td>Lists source files that declare global or static variables. Click a source file to view its static variables. Click Global Variables to view all global variables declared in the program.</td>
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    24
  </tr>
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    25
  <tr>
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    26
    <td><b>Variables</b></td>
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    27
    <td>Lists variables according to the file selected in the File pane. Double-click a variable to display it in a separate Variable window.</td>
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    28
  </tr>
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    29
</table>
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    30
<div class="step">
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    31
  <h5>Opening the Global Variables Window</h5>
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    32
  <p>Use the Global Variables window to display global variables declared in a program or static variables declared in source files that comprise the program.</p>
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    33
  <ul>
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    34
    <li>To open the Global Variables window, select View &gt; Global Variables or Window &gt; Global Variables Window.</li>
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    35
  </ul>
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    36
</div>
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    37
<p></p>
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    38
<div class="step">
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    39
  <h5>Viewing Global Variables for Different Processes</h5>
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    40
  <p>You can open a separate Global Variables window for each process that the same parent application creates.</p>
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    41
  <p>To open the Global Variables window for a particular process, follow these steps:</p>
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    42
  <ol>
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    43
    <li>Click Project &gt; Debug.</li>
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    44
  <p>A debugging session starts.</p>
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    45
    <li>In the Thread window toolbar, use the Process list box to specify the process that has the global variables that you want to examine.</li>
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    46
    <li>Click View &gt; Global Variables or Window &gt; Global Variables Window.</li>
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    47
    <p>Repeat these steps for each process that has global variables that you want to examine.</p>
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    48
  </ol>
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    49
</div>
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    50
<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>
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    51
57698352558c revised manual reference pages and images
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    52
</body>
0
fb279309251b DP tools release version Revision: 200912
Deepak Modgil <Deepak.Modgil@Nokia.com>
parents:
diff changeset
    53
</html>