mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-25 18:05:33 +02:00
Change based on the work from Mikhailk
This commit is contained in:
parent
d7ad9aef13
commit
ec7e1aa246
9 changed files with 151 additions and 71 deletions
|
@ -68,10 +68,10 @@
|
|||
<topic href="reference/cdt_u_mem_view_pref.htm"
|
||||
label="Memory view preferences"/>
|
||||
</context>
|
||||
<context id ="shared_lib_view">
|
||||
<context id ="modules_view">
|
||||
<description>Click below to see help.</description>
|
||||
<topic href="reference/cdt_u_shared_lib_view.htm"
|
||||
label="Shared libraries view"/>
|
||||
<topic href="reference/cdt_u_modules_view.htm"
|
||||
label="Modules view"/>
|
||||
</context>
|
||||
<context id ="signals_view">
|
||||
<description>Click below to see help.</description>
|
||||
|
@ -374,4 +374,4 @@
|
|||
label="C/C++ search page"/>
|
||||
</context>
|
||||
|
||||
</contexts>
|
||||
</contexts>
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<!ENTITY registersViewPrefs "Registers view preferences">
|
||||
<!ENTITY memoryView "Memory view">
|
||||
<!ENTITY memoryViewPrefs "Memory view preferences">
|
||||
<!ENTITY sharedLibsView "Shared Libraries view">
|
||||
<!ENTITY ModulesView "Modules view">
|
||||
<!ENTITY sharedLibsViewPrefs "Shared Libraries view preferences">
|
||||
<!ENTITY signalsView "Signals view">
|
||||
<!ENTITY debugPrefs "Debug preferences">
|
||||
|
@ -50,10 +50,10 @@
|
|||
label="&memoryViewPrefs;"/>
|
||||
</context>
|
||||
|
||||
<context id ="shared_libraries_view_context">
|
||||
<context id ="modules_view_context">
|
||||
<description>Click below to see help</description>
|
||||
<topic href="reference/cdt_u_shared_lib_view.htm"
|
||||
label="&sharedLibsView;"/>
|
||||
<topic href="reference/cdt_u_modules_view.htm"
|
||||
label="&modulesView;"/>
|
||||
</context>
|
||||
|
||||
<context id ="shared_libraries_preference_page_context">
|
||||
|
@ -79,4 +79,4 @@
|
|||
<topic href="reference/cdt_u_dbg_src.htm"
|
||||
label="&srcPrefs;"/>
|
||||
</context>
|
||||
</contexts>
|
||||
</contexts>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_u_registersview.htm">Registers view</a><br>
|
||||
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_u_memoryview.htm">Memory view</a><br>
|
||||
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_u_mem_view_pref.htm">Memory view preferences</a><br>
|
||||
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_u_shared_lib_view.htm">Shared libraries view</a><br>
|
||||
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_u_modules_view.htm">Modules view</a><br>
|
||||
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_u_signals_view.htm">Signals view</a><br>
|
||||
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_u_dbg_view.htm">Debug view</a><br>
|
||||
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_u_dbg_pref.htm">Debug preferences</a><br>
|
||||
|
@ -26,4 +26,4 @@
|
|||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
<img src="../images/trans.gif" border="0" width="150" height="1" alt=""><a style="text-decoration:none" href="cdt_u_registersview.htm">Registers view</a><br>
|
||||
<img src="../images/trans.gif" border="0" width="150" height="1" alt=""><a style="text-decoration:none" href="cdt_u_memoryview.htm">Memory view</a><br>
|
||||
<img src="../images/trans.gif" border="0" width="150" height="1" alt=""><a style="text-decoration:none" href="cdt_u_mem_view_pref.htm">Memory view preferences</a><br>
|
||||
<img src="../images/trans.gif" border="0" width="150" height="1" alt=""><a style="text-decoration:none" href="cdt_u_shared_lib_view.htm">Shared libraries view</a><br>
|
||||
<img src="../images/trans.gif" border="0" width="150" height="1" alt=""><a style="text-decoration:none" href="cdt_u_modules_view.htm">Modules view</a><br>
|
||||
<img src="../images/trans.gif" border="0" width="150" height="1" alt=""><a style="text-decoration:none" href="cdt_u_signals_view.htm">Signals view</a><br>
|
||||
<img src="../images/trans.gif" border="0" width="150" height="1" alt=""><a style="text-decoration:none" href="cdt_u_dbg_view.htm">Debug view</a><br>
|
||||
<img src="../images/trans.gif" border="0" width="150" height="1" alt=""><a style="text-decoration:none" href="cdt_u_dbg_pref.htm">Debug preferences</a><br>
|
||||
|
@ -121,4 +121,4 @@ Project Type</a><br>
|
|||
<p><img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" ></p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
<img src="../images/trans.gif" border="0" width="50" height="1" alt=""><a style="text-decoration:none" href="cdt_u_registersview.htm">Registers view</a><br>
|
||||
<img src="../images/trans.gif" border="0" width="50" height="1" alt=""><a style="text-decoration:none" href="cdt_u_memoryview.htm">Memory view</a><br>
|
||||
<img src="../images/trans.gif" border="0" width="50" height="1" alt=""><a style="text-decoration:none" href="cdt_u_mem_view_pref.htm">Memory view preferences</a><br>
|
||||
<img src="../images/trans.gif" border="0" width="50" height="1" alt=""><a style="text-decoration:none" href="cdt_u_shared_lib_view.htm">Shared libraries view</a><br>
|
||||
<img src="../images/trans.gif" border="0" width="50" height="1" alt=""><a style="text-decoration:none" href="cdt_u_modules_view.htm">Modules view</a><br>
|
||||
<img src="../images/trans.gif" border="0" width="50" height="1" alt=""><a style="text-decoration:none" href="cdt_u_signals_view.htm">Signals view</a><br>
|
||||
<img src="../images/trans.gif" border="0" width="50" height="1" alt=""><a style="text-decoration:none" href="cdt_u_dbg_view.htm">Debug view</a><br>
|
||||
<img src="../images/trans.gif" border="0" width="50" height="1" alt=""><a style="text-decoration:none" href="cdt_u_dbg_pref.htm">Debug preferences</a><br>
|
||||
|
@ -36,4 +36,4 @@
|
|||
<p><img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" ></p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
||||
<html lang="en">
|
||||
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Language" content="en-us">
|
||||
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
|
||||
|
@ -12,27 +12,44 @@
|
|||
<body>
|
||||
|
||||
<h1>Memory view</h1>
|
||||
<p>The Memory view of the Debug perspective lets you inspect and change your process memory. The view
|
||||
consists of four tabs that let you inspect multiple sections of memory. The
|
||||
options described below are available when you right-click a memory value.</p>
|
||||
|
||||
<p>The Memory view of the Debug
|
||||
perspective lets you monitor and modify your process memory. The process memory
|
||||
is presented as a list of so called <b>memory monitors</b>. Each monitor represents
|
||||
a section of memory specified by it's location called <b>base address</b>. Each
|
||||
memory monitor can be displayed in different predefined data formats -- <b>memory
|
||||
renderings</b>. The debugger supports four rendering types -- <b>hexadecimal</b>
|
||||
(default), <b>ascii</b>, <b>signed integer</b> and <b>unsigned integer</b>. The
|
||||
default rendering is displayed automatically on the monitor creation.</p>
|
||||
|
||||
<p>The Memory view contains two
|
||||
panes -- the <b>Memory Monitors</b> pane and the <b>Memory Renderings</b> pane. The
|
||||
Memory Monitors pane displays the list of memory monitors added to the debug
|
||||
session currently selected in the Debug view. The content of the Memory
|
||||
Renderings pane is controlled by the selection in the Memory Monitors pane and
|
||||
consists of the tabs that display renderings. The Memory Renderings pane can be
|
||||
configured to display two renderings simultaneously.</p>
|
||||
|
||||
<p>The following options are available.</p>
|
||||
<dl>
|
||||
<dt>Auto-Refresh</dt>
|
||||
<dd>Updates the memory address list each time execution stops.</dd>
|
||||
<dt>Refresh</dt>
|
||||
<dd>Updates the memory address list.</dd>
|
||||
<dt>Clear</dt>
|
||||
<dd>Clears the selected memory address.</dd>
|
||||
<dt>Format</dt>
|
||||
<dd>Specifies the number system in which to display memory values (Hexadecimal, Signed Decimal, or Unsigned Decimal).</dd>
|
||||
<dt>Memory Unit Size</dt>
|
||||
<dd>Specifies the memory address size (1 byte, 2 bytes, 4 bytes, 8 bytes).</dd>
|
||||
<dt>Number of Columns</dt>
|
||||
<dd>Specifies the numbers of columns displayed in the Registers view (1 column, 2 columns, 4 columns, 8 columns, 16 columns).</dd>
|
||||
<dt>Show ASCII</dt>
|
||||
<dd>Displays the selected value as ASCII.</dd>
|
||||
<dt>Detail panel</dt>
|
||||
<dd>Displays the raw output from GDB for the selected variable.</dd>
|
||||
</dl>
|
||||
|
||||
<dt><strong>Toggle Memory Monitor Pane</strong></dt>
|
||||
<dd>Shows/hides the Memory Monitor pane.</dd>
|
||||
|
||||
<dt><strong>Toggle Split Pane</strong></dt>
|
||||
<dd>Toggles the Memory Renderings pane split.</dd>
|
||||
|
||||
<dt><strong>Link Memory Rendering Panes</strong></dt>
|
||||
<dd>Synchronizes the selection of two memory renderings.</dd>
|
||||
|
||||
<dt><strong>Padded String</strong></dt>
|
||||
<dd>Specifies the string that represents the unretrievable memory.</dd>
|
||||
|
||||
<dt><strong>Default Column Size</strong></dt>
|
||||
<dd>Specifies the default
|
||||
column size of the memory presentation (1 byte, 2 bytes, 4 bytes, 8 bytes). Can
|
||||
be overwritten by each rendering. </dd>
|
||||
|
||||
<p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
|
||||
<br>
|
||||
<a href="../concepts/cdt_c_dbg_info.htm">Debug information</a></p>
|
||||
|
@ -42,7 +59,8 @@ options described below are available when you right-click a memory value.</p>
|
|||
<p><img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21">
|
||||
<br>
|
||||
<a href="cdt_o_views.htm">Views</a></p>
|
||||
<img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" >
|
||||
<img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" >
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -0,0 +1,48 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Language" content="en-us">
|
||||
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
|
||||
<meta name="ProgId" content="FrontPage.Editor.Document">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Shared Libraries view</title>
|
||||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
</head>
|
||||
|
||||
|
||||
<body>
|
||||
|
||||
<h1>Modules view</h1>
|
||||
|
||||
<p>The Modules view of the Debug
|
||||
perspective lets you view information about the modules loaded in the current
|
||||
debug session, including executables and shared libraries. The view consists
|
||||
of two areas: the modules tree and the detail pane. The detail pane displays
|
||||
the detail information for the module selected in the modules tree. Expanding a
|
||||
module users can view the module's internals - functions, global variables, associated
|
||||
source files, etc.</p>
|
||||
|
||||
<dl>
|
||||
<dt><b>Load Symbols</b></dt>
|
||||
<dd>Loads the symbols of the module. The
|
||||
symbols will be loaded from the file specified in the module's properties.</span></dd>
|
||||
|
||||
<dt><b>Load Symbols For All</b></dt>
|
||||
<dd>Loads the symbols of the all modules involved in the current session. This option does not affect
|
||||
the modules whose symbols are already loaded.</dd>
|
||||
</dl>
|
||||
<p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
|
||||
<br>
|
||||
<a href="../concepts/cdt_c_dbg_info.htm">Debug information</a></p>
|
||||
<p><img border="0" src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21">
|
||||
<br>
|
||||
<a href="../tasks/cdt_o_debug.htm">Debugging</a></p>
|
||||
<p><img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21">
|
||||
<br>
|
||||
<a href="cdt_o_views.htm">Views</a></p>
|
||||
<img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" >
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -1,6 +1,6 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
||||
<html lang="en">
|
||||
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Language" content="en-us">
|
||||
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
|
||||
|
@ -9,45 +9,60 @@
|
|||
<title>Working with memory</title>
|
||||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
</head>
|
||||
|
||||
|
||||
<body>
|
||||
|
||||
<h1>Working with memory</h1>
|
||||
|
||||
<p>You can inspect and change process memory.</p>
|
||||
|
||||
<p>The Memory view supports the same addressing as the C language. You
|
||||
can address memory using expressions such as:</p>
|
||||
<p>The Memory view supports the same addressing as the C and C++ languages. You can address memory using expressions
|
||||
such as:</p>
|
||||
|
||||
<ul>
|
||||
<li> <samp>0x0847d3c</samp></li>
|
||||
<li> <samp>(&y)+1024</samp></li>
|
||||
<li> <samp>*ptr</samp></li>
|
||||
<li><samp>0x0847d3c</samp></li>
|
||||
<li><samp>(&y)+1024</samp></li>
|
||||
<li><samp>*ptr</samp></li>
|
||||
</ul>
|
||||
<p>You can configure your output to display hexadecimal or decimal. You can also
|
||||
set the number of display columns and the memory unit size. You can configure
|
||||
each memory tab independently.</p>
|
||||
<p>You can customize the Memory view to colors and fonts displayed. You can also customize some of its behavior. The customizations affect
|
||||
the entire <b>Memory</b> view.</p>
|
||||
<p>To change process memory:</p>
|
||||
<p><b>Warning:</b> Changing process memory can cause a program to crash.</p>
|
||||
|
||||
<p> You can configure your output to
|
||||
display hexadecimal, ascii and/or signed/unsigned decimal. You can also set the
|
||||
size of the rendering columns. You can configure each memory monitor renderings
|
||||
independently.</p>
|
||||
|
||||
<p> You can customize the Memory view to colors and fonts displayed. </p>
|
||||
|
||||
<p>To monitor process memory:</p>
|
||||
<ol>
|
||||
<li>In the Debug view, select a process. Selecting a thread
|
||||
automatically selects the associated process. </li>
|
||||
<li>In the Memory view, click a memory tab.</li>
|
||||
<li>Do one of the following:</li>
|
||||
<ul><li>In the <b>Address</b> box, type an address and press <b>Enter</b>.</li>
|
||||
<li>In the memory view, type a new value for memory. The <b>Memory</b>
|
||||
view works in "typeover" mode. To jump from byte to byte use the arrow keys:<p> </li></ul>
|
||||
<li> In the Debug view, select a debug session. Selecting a thread or stack frame automatically
|
||||
selects the associated session.</li>
|
||||
|
||||
<li> Select <strong>"Add Memory Monitor"</strong> in the context menu of the Memory Monitors pane.
|
||||
The <strong>"Memory Monitor"</strong> dialog appears.</li>
|
||||
|
||||
<li> Type the address or expression that specifies the memory section you want to monitor and
|
||||
press <strong>"OK"</strong>. The monitor appears in the monitor list and the Memory Renderings
|
||||
pane displays the contents of memory locations beginning at the specified address.</li>
|
||||
|
||||
</ol>
|
||||
<p>To change the appearance of the Memory view:</p>
|
||||
<p>To view memory in a different rendering: </p>
|
||||
<ol>
|
||||
<li>Do one of the following:</li>
|
||||
<ul><li>In the Memory view, click one of the tabs.</li>
|
||||
<li>Click <b>Window > Preferences</b>.</li></ul>
|
||||
<li>In list of memory addresses, right-click, and select:</li>
|
||||
<ul><li><b>Format > Hexadecimal, Signed Decimal or Unsigned Decimal</b>.</li>
|
||||
<li><b>Memory Unit Size > 1, 2, 4, or 8 bytes</b></li>
|
||||
<li><b>Number of Columns > 1, 2, 4, 8, or 16</b> columns.</li></ul>
|
||||
<li> Select <strong>"Add Rendering"</strong> in the context menu of the Memory Renderings pane.
|
||||
The <strong>"Add Memory Rendering"</strong> dialog appears.</li>
|
||||
|
||||
<li> Select renderings from the list and press <strong>"OK"</strong>.</li>
|
||||
</ol>
|
||||
<p>To change process memory:</p>
|
||||
|
||||
<p><b>Warning:</b>
|
||||
Changing process memory can cause a program to crash.</p>
|
||||
|
||||
<ol>
|
||||
<li> In the Debug view, select a debug session. Selecting a thread or stack frame automatically
|
||||
selects the associated session.</li>
|
||||
<li> In the Memory Monitors pane, add a new monitor or select an existing monitor.</li>
|
||||
<li> In the Memory Renderings pane add a new rendering or select an existing one. </li>
|
||||
<li> Type a new value for memory. </li>
|
||||
</ol>
|
||||
|
||||
<p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
|
||||
|
@ -62,7 +77,6 @@ the entire <b>Memory</b> view.</p>
|
|||
<a href="../reference/cdt_o_dbg_view.htm">Debug views</a></p>
|
||||
<img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" >
|
||||
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
<topic label="Registers view" href="reference/cdt_u_registersview.htm"/>
|
||||
<topic label="Memory view" href="reference/cdt_u_memoryview.htm"/>
|
||||
<topic label="Memory view preferences" href="reference/cdt_u_mem_view_pref.htm"/>
|
||||
<topic label="Shared libraries view" href="reference/cdt_u_shared_lib_view.htm"/>
|
||||
<topic label="Modules view" href="reference/cdt_u_modules_view.htm"/>
|
||||
<topic label="Signals view" href="reference/cdt_u_signals_view.htm"/>
|
||||
<topic label="Debug view" href="reference/cdt_u_dbg_view.htm"/>
|
||||
<topic label="Debug preferences" href="reference/cdt_u_dbg_pref.htm"/>
|
||||
|
@ -130,4 +130,4 @@
|
|||
<topic label="Common" href="reference/cdt_u_run_dbg_comm.htm"/>
|
||||
</topic>
|
||||
<topic label="C/C++ search page" href="reference/cdt_u_search.htm"/>
|
||||
</toc>
|
||||
</toc>
|
||||
|
|
Loading…
Add table
Reference in a new issue