Keeping PlatSim internal only.
<!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 >
<h2>Adding a Memory Monitor </h2>
<p>You can add one or more memory monitors to the <a href="../../debugger/views/view_memory.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 -- (&y)+1024 </li>
<li>Functions -- FNname </li>
<li>Hexadecimal -- 0x0847d3c </li>
<li>Variables -- &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="../../debugger/views/view_memory.htm">Memory View</a></li>
</ul>
<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>