core/com.nokia.carbide.cpp.doc.user/html/reference/view_sym_os_data_chunks.htm
author fturovic <frank.turovich@nokia.com>
Sat, 02 Oct 2010 12:36:21 -0500
changeset 2130 16e8bfa397ad
parent 2009 b622387629d6
child 2131 ff0156b93599
permissions -rw-r--r--
BUG 12276 - several pref command link paths broken due to prefs moving to new plugins in edc and elsewhere
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1806
41bde41fae28 separted symbian os data into multiple pages
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
41bde41fae28 separted symbian os data into multiple pages
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
     2
<html>
41bde41fae28 separted symbian os data into multiple pages
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
     3
<head>
41bde41fae28 separted symbian os data into multiple pages
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
     4
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
41bde41fae28 separted symbian os data into multiple pages
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
     5
<meta http-equiv="Content-Style-Type" content="text/css" />
41bde41fae28 separted symbian os data into multiple pages
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
     6
<meta name="LASTUPDATED" content="06/17/05 11:09:43" />
41bde41fae28 separted symbian os data into multiple pages
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
     7
<title>Symbian OS Data: Chunks</title>
41bde41fae28 separted symbian os data into multiple pages
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
     8
<link rel="StyleSheet" href="../../book.css" type="text/css"/>
41bde41fae28 separted symbian os data into multiple pages
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
     9
<script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js"></script>
41bde41fae28 separted symbian os data into multiple pages
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    10
</head>
41bde41fae28 separted symbian os data into multiple pages
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    11
<body >
41bde41fae28 separted symbian os data into multiple pages
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    12
<h2>Symbian OS Data view: Chunks</h2>
2130
16e8bfa397ad BUG 12276 - several pref command link paths broken due to prefs moving to new plugins in edc and elsewhere
fturovic <frank.turovich@nokia.com>
parents: 2009
diff changeset
    13
<p>The <img src="../images/command_link.png" border="0" alt="" /> <a class="command-link" href='javascript:executeCommand("org.eclipse.ui.views.showView(org.eclipse.ui.views.showView.viewId=com.nokia.carbide.cpp.edc.ui.SymbianSystemView)")'>Symbian OS Data</a> view displays the processes and threads for the suspended debug session based on the selection in the <a href="../debugger/debug/viewing_debug.htm">Debug</a> view. Read-only data is displayed for ARM build configurations. Data to be viewed includes:</p>
1806
41bde41fae28 separted symbian os data into multiple pages
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    14
<ul>
1809
7c3b884eb33b fixed links to separate pages
fturovic <frank.turovich@nokia.com>
parents: 1806
diff changeset
    15
    <li><a href="view_sym_os_data_overview.htm">Overview</a></li>
7c3b884eb33b fixed links to separate pages
fturovic <frank.turovich@nokia.com>
parents: 1806
diff changeset
    16
    <li><a href="view_sym_os_data_process.htm">Processes</a></li>
7c3b884eb33b fixed links to separate pages
fturovic <frank.turovich@nokia.com>
parents: 1806
diff changeset
    17
    <li><a href="view_sym_os_data_threads.htm">Threads</a></li>
7c3b884eb33b fixed links to separate pages
fturovic <frank.turovich@nokia.com>
parents: 1806
diff changeset
    18
    <li><a href="view_sym_os_data_chunks.htm">Chunks</a></li>
7c3b884eb33b fixed links to separate pages
fturovic <frank.turovich@nokia.com>
parents: 1806
diff changeset
    19
    <li><a href="view_sym_os_data_libs.htm">Libraries</a></li>
1806
41bde41fae28 separted symbian os data into multiple pages
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    20
</ul>
2009
b622387629d6 changed TRK to CODA in docs except where it related to pre-3.0 versions
fturovic <frank.turovich@nokia.com>
parents: 1809
diff changeset
    21
<p class="note"><b>NOTE</b>  Information for the Chunks and Libraries tabs is not available when debugging with the CODA debug agent.</p>
1806
41bde41fae28 separted symbian os data into multiple pages
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    22
<hr>
41bde41fae28 separted symbian os data into multiple pages
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    23
<h2><a name="chunks" id="chunks"></a>Chunks</h2>
41bde41fae28 separted symbian os data into multiple pages
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    24
<p>Chunks are an area of contiguous linear memory. It is the unit of memory allocation where a region of RAM is mapped into contiguous logical addresses. Chunks are allocated during boot for such things as the Kernel's data and stack.</p>
41bde41fae28 separted symbian os data into multiple pages
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    25
<p>The Chunks tab (Figure 4) provides a flat list of corresponding kernel objects. The list will display &ldquo;sortable&rdquo; attributes of that type of object in columns. The &ldquo;sortable attribute&rdquo; means you can sort the list by that attribute. For example, you may want to sort the list by the owning process name. Sort the list of any column by clicking on the column header.</p>
2009
b622387629d6 changed TRK to CODA in docs except where it related to pre-3.0 versions
fturovic <frank.turovich@nokia.com>
parents: 1809
diff changeset
    26
<p class="note"> <b>NOTE</b> Chunks data is not available during CODA debugging.</p>
1806
41bde41fae28 separted symbian os data into multiple pages
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    27
<p align="center"><img src="images/view_symbianOS_chunks.png" width="530" height="278" alt="" /></p>
41bde41fae28 separted symbian os data into multiple pages
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    28
<p class="figure">Figure 4. Chunks Pane of Symbian OS View</p>
41bde41fae28 separted symbian os data into multiple pages
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    29
<h3><a name="attach" id="attach"></a>Attaching to a Process</h3>
41bde41fae28 separted symbian os data into multiple pages
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    30
<p>If <span class="note">you double click on a thread item in the Thread tab, or right-click and choose <b>Debug</b>, the owning process of the thread will be attached.</span> The thread with an attached process will appear in bold. You can also select a thread and click the bug icon in the Symbian OS Data toolbar. You can also view properties for the attached process by clicking the &quot;Show properties of the selected item&quot; icon () in the Symbian OS Data toolbar or right-click the thread and choose <b>Properties</b>.</p>
41bde41fae28 separted symbian os data into multiple pages
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    31
<p class="note"><b>NOTE </b>If an executable is not part of a project in the workspace use the Executables view to import an executable to make it visible to the debugger. Once included in the Executables list, the symbolics for that executable can be loaded and breakpoints resolved and hit. Open a source file in an editor view or use the <a href="view_breakpoints.htm">Breakpoints</a> view to verify that the executable breakpoints have been <a href="../concepts/breakpoints.htm">resolved</a>. </p>
41bde41fae28 separted symbian os data into multiple pages
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    32
<p class="note"><b>IMPORTANT</b> In stop mode debugging when debugging multiple processes at the same time, selecting a process in the <a href="../debugger/debug/viewing_debug.htm">Debug</a> pane and clicking <b>Terminate</b> disconnects the attached process on the board, leaving  all other processes running. It does not terminate the debug session.  However, if there is only one debug process  when you click <b>Terminate</b> the CPU is  suspended until the next debug session.</p>
41bde41fae28 separted symbian os data into multiple pages
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    33
<p class="note"><b>WARNING</b> Detaching from a system process or any process not initiated by the program you are attempting to debug may cause the device to stop working, forcing a restart of the device. </p>
41bde41fae28 separted symbian os data into multiple pages
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    34
<p><img src="images/symOSData_attachprocess.png" width="1144" height="332" alt="" /></p>
41bde41fae28 separted symbian os data into multiple pages
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    35
<h5>Other  references</h5>
41bde41fae28 separted symbian os data into multiple pages
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    36
<ul>
41bde41fae28 separted symbian os data into multiple pages
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    37
  <li><a href="../debugger/debug/viewing_debug.htm">Debug view</a></li>
41bde41fae28 separted symbian os data into multiple pages
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    38
  <li><a href="../tasks/debugger/view_symbian_kernel_set.htm">Setting Symbian OS View Refresh Rate</a><br />
41bde41fae28 separted symbian os data into multiple pages
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    39
  </li>
41bde41fae28 separted symbian os data into multiple pages
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    40
</ul>
41bde41fae28 separted symbian os data into multiple pages
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    41
<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>
41bde41fae28 separted symbian os data into multiple pages
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    42
41bde41fae28 separted symbian os data into multiple pages
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    43
</body>
41bde41fae28 separted symbian os data into multiple pages
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    44
</html>