core/com.nokia.carbide.cpp.doc.user/html/tasks/memory/memory_monitor_adding.htm
author Deepak Modgil <Deepak.Modgil@Nokia.com>
Fri, 03 Apr 2009 23:33:03 +0100
changeset 0 fb279309251b
child 1225 a546534a48de
permissions -rw-r--r--
DP tools release version Revision: 200912

<!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>Adding a Memory Monitor</title>
<link rel="StyleSheet" href="../../../book.css" type="text/css"/>
</head>
<body bgcolor="#FFFFFF">
<h2>Adding a Memory Monitor </h2>
<p>You can add one or more memory monitors to the <a href="../../reference/view_memory_wnd.htm">Memory</a> view. A memory monitor  shows the contents of a different address or expression. </p>
<p class="note"><b>NOTE</b> When using an emulator, the memory addresses are actually based on their location and  formats dependent upon the host machine. </p>
<div class="step">
  <h4>To add a Memory Monitor</h4>
  <ol>
    <li>Open a new memory monitor  by:
      <ul>
        <li>Click the Add Memory Monitor (<img src="../../images/icons/mem_add_monitor_icon.png" width="18" height="18" align="absmiddle" />) icon in the Monitors pane</li>
        <li>Right-click in the  Monitors pane, then select Add Memory Monitor</li>
        <li>Right-click a variable in the Variables view, then select View Memory  </li>
      </ul>
    </li>
    <p>The Add Memory Monitor window appears (Figure 1).</p>
    <p align="center"><img src="../../images/views/wnd_memory_monitor.png" width="296" height="131" /></p>
    <p class="figure">Figure 1 - Memory Monitor window </p>
    <li> Enter the address or expression to monitor</li>
    <p>Type the address or expression that specifies the memory section to monitor. Acceptable formats include:</p>
    <ul>
      <li>Address -- *ptr</li>
      <li>Expression -- (&amp;y)+1024 </li>
      <li>Functions -- FNname </li>
      <li>Hexadecimal -- 0x0847d3c </li>
      <li>Variables -- &amp;VarName</li>
    </ul>
    <li>Click OK </li>
    <p>The monitor appears in the monitor list and the Memory Renderings pane displays the contents of memory locations beginning at the specified address.</p>
  </ol>
</div>
<h5>Related concepts</h5>
<ul>
  <li><a href="../../concepts/working_with_memory.htm">Working with Memory </a> </li>
</ul>
<h5>Related tasks</h5>
<ul>
  <li><a href="view_memory_show.htm">Opening a Memory View</a></li>
  <li><a href="memory_rendering_adding.htm">Adding A Memory Rendering</a></li>
  <li><a href="memory_monitor_removing.htm">Removing a Memory Monitor or Rendering</a> </li>
</ul>
<h5>Related References </h5>
<ul>
  <li><a href="../../reference/view_memory_wnd.htm">Memory View</a></li>
</ul>
<div id="footer">Copyright &copy; 2009 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>