<!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>Variables View</title>
<link rel="StyleSheet" href="../../../book.css" type="text/css"/>
</head>
<body >
<h2>Variables View </h2>
<p>The <b>Variables</b> view allows manipulation of the variables or variable hierarchy used in source code. For example, you can change the variable format, change a variables value, add watchpoints, and add global variables. In addition to the standard C/C++, Symbian, and the Qt data types: <span class="code">QString</span>, <span class="code">QByteArray</span>, <span class="code">QSet</span>, <span class="code">QHash</span>, <span class="code">QMap</span>, <span class="code">QVector</span>, <span class="code">QList</span>, <span class="code">QLinkedList</span> and <span class="code">Qvariant</span>.</p>
<p>Figure 1 shows the Variables view with <b>Show Type Names</b> option enabled.</p>
<p align="center"><img src="../../images/views/view_variables.png" width="544" height="221" /></p>
<p class="figure">Figure 1 - Variables view showing type names </p>
<h5>Table 1. Variables view&mdash;items </h5>
<table width="88%"  border="0" cellpadding="2" cellspacing="0">
  <tr>
    <th width="34%" scope="col">Item</th>
    <th width="14%" scope="col">Icons</th>
    <th width="52%" scope="col">Explanation</th>
  </tr>
  <tr>
    <td><b>Show Type Names </b></td>
    <td><div align="center"><img src="../../images/icons/var_toggle_type_names_icon.png" width="19" height="19" /></div></td>
    <td>Toggles the display of type names in the Variables view. </td>
  </tr>
  <tr>
    <td><b>Show Logical Structure </b></td>
    <td><div align="center"><img src="../../images/icons/var_show_logical_struct_icon.png" width="19" height="19" /></div></td>
    <td>Not available in C/C++ yet. </td>
  </tr>
  <tr>
    <td><b>Collapse All </b></td>
    <td><div align="center"><img src="../../images/icons/var_collapse_all_icon.png" width="17" height="18" /></div></td>
    <td>Collapses all expanded variables into the top level. </td>
  </tr>
  <tr>
    <td><b>Add Global Variables </b></td>
    <td><div align="center"><img src="../../images/icons/var_add_global_vars_icon.png" width="19" height="19" /></div></td>
    <td>Click to open a window where you can select one or more global variables to display in the Variables view. Global variables appear at the top of the variables list. </td>
  </tr>
  <tr>
    <td><b>Remove Selected Global Variables </b></td>
    <td><div align="center"><img src="../../images/icons/var_remove_selected_globals_icon.png" width="18" height="16" /></div></td>
    <td>Click to remove all currently selected global variables from the variables list. </td>
  </tr>
  <tr>
    <td><b>Remove All Global Variables </b></td>
    <td><div align="center"><img src="../../images/icons/var_remove_all_globals_icon.png" width="19" height="19" /></div></td>
    <td>Click to remove all global variables from the variables list. </td>
  </tr>
  <tr>
    <td><b>Menu</b></td>
    <td><div align="center"><img src="../../reference/images/icon_menu_white.png" width="12" height="12"></div></td>
    <td><p>Enables you to modifiy the <b>Layout</b> to change the view orientation between: horizontal, vertical, or variables pane only.</p>
    <p>In addition, use <b>Show All Variables</b> to toggle between showing only those variables that are in scope and live or   show all local variables, even if redundant. With this option on you will see all of the variables including the multiple defined variables like &ldquo;i&rdquo; for your loops  and ones that may no longer have accurate values.</p></td>
  </tr>
</table>
<div class="step">
  <h4>To open the Variables view </h4>
  <ul>
    <li>Click Window &gt; Show View &gt; Variables </li>
	<p>The Variables view appears.</p>
  </ul>
</div>
<h5>Related concepts</h5>
<ul>
  <li><a href="../../concepts/common_debug_actions.htm">Common Debug Actions </a></li>
  <li><a href="../../concepts/working_with_memory.htm">Working with Memory</a></li>
  <li><a href="../../concepts/working_with_variables.htm">Working with Variables</a> </li>
</ul>
<h5>Related tasks</h5>
<ul>
  <li><a href="perspective_debug.htm">Showing the Variables View</a> </li>
  <li><a href="perspective_debug.htm">Showing Global Variables</a> </li>
</ul>
<h5>Related References </h5>
<ul>
  <li><a href="view_expressions.htm">Expressions View</a></li>
  <li><a href="../../concepts/working_with_variables.htm">Variables View</a></li>
</ul>
<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>

</body>
</html>
