diff --git a/doc/org.eclipse.cdt.doc.user/contexts_CDT.xml b/doc/org.eclipse.cdt.doc.user/contexts_CDT.xml index b9310b20205..03145983967 100644 --- a/doc/org.eclipse.cdt.doc.user/contexts_CDT.xml +++ b/doc/org.eclipse.cdt.doc.user/contexts_CDT.xml @@ -68,10 +68,10 @@ - + Click below to see help. - + Click below to see help. @@ -374,4 +374,4 @@ label="C/C++ search page"/> - \ No newline at end of file + diff --git a/doc/org.eclipse.cdt.doc.user/contexts_CDT_DEBUGGER.xml b/doc/org.eclipse.cdt.doc.user/contexts_CDT_DEBUGGER.xml index 64761c3fc52..bfd638190c5 100644 --- a/doc/org.eclipse.cdt.doc.user/contexts_CDT_DEBUGGER.xml +++ b/doc/org.eclipse.cdt.doc.user/contexts_CDT_DEBUGGER.xml @@ -12,7 +12,7 @@ - + @@ -50,10 +50,10 @@ label="&memoryViewPrefs;"/> - + Click below to see help - + @@ -79,4 +79,4 @@ - \ No newline at end of file + diff --git a/doc/org.eclipse.cdt.doc.user/reference/cdt_o_dbg_view.htm b/doc/org.eclipse.cdt.doc.user/reference/cdt_o_dbg_view.htm index 26f57bb9bdc..b536f1a8bbc 100644 --- a/doc/org.eclipse.cdt.doc.user/reference/cdt_o_dbg_view.htm +++ b/doc/org.eclipse.cdt.doc.user/reference/cdt_o_dbg_view.htm @@ -17,7 +17,7 @@ Registers view
Memory view
Memory view preferences
- Shared libraries view
+ Modules view
Signals view
Debug view
Debug preferences
@@ -26,4 +26,4 @@ - \ No newline at end of file + diff --git a/doc/org.eclipse.cdt.doc.user/reference/cdt_o_ref.htm b/doc/org.eclipse.cdt.doc.user/reference/cdt_o_ref.htm index c7812a31bf3..568b09b1168 100644 --- a/doc/org.eclipse.cdt.doc.user/reference/cdt_o_ref.htm +++ b/doc/org.eclipse.cdt.doc.user/reference/cdt_o_ref.htm @@ -27,7 +27,7 @@ Registers view
Memory view
Memory view preferences
- Shared libraries view
+ Modules view
Signals view
Debug view
Debug preferences
@@ -121,4 +121,4 @@ Project Type

IBM Copyright Statement

- \ No newline at end of file + diff --git a/doc/org.eclipse.cdt.doc.user/reference/cdt_o_views.htm b/doc/org.eclipse.cdt.doc.user/reference/cdt_o_views.htm index 9cd2370c5e3..7824a1df830 100644 --- a/doc/org.eclipse.cdt.doc.user/reference/cdt_o_views.htm +++ b/doc/org.eclipse.cdt.doc.user/reference/cdt_o_views.htm @@ -27,7 +27,7 @@ Registers view
Memory view
Memory view preferences
- Shared libraries view
+ Modules view
Signals view
Debug view
Debug preferences
@@ -36,4 +36,4 @@

IBM Copyright Statement

- \ No newline at end of file + diff --git a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_memoryview.htm b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_memoryview.htm index 9d2f1049437..471051e310b 100644 --- a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_memoryview.htm +++ b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_memoryview.htm @@ -1,6 +1,6 @@ - + @@ -12,27 +12,44 @@

Memory view

-

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.

+ +

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 memory monitors. Each monitor represents +a section of memory specified by it's location called base address. Each +memory monitor can be displayed in different predefined data formats -- memory +renderings. The debugger supports four rendering types -- hexadecimal +(default), ascii, signed integer and unsigned integer. The +default rendering is displayed automatically on the monitor creation.

+ +

The Memory view contains two +panes -- the Memory Monitors pane and the Memory Renderings 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.

+ +

The following options are available.

-
Auto-Refresh
-
Updates the memory address list each time execution stops.
-
Refresh
-
Updates the memory address list.
-
Clear
-
Clears the selected memory address.
-
Format
-
Specifies the number system in which to display memory values (Hexadecimal, Signed Decimal, or Unsigned Decimal).
-
Memory Unit Size
-
Specifies the memory address size (1 byte, 2 bytes, 4 bytes, 8 bytes).
-
Number of Columns
-
Specifies the numbers of columns displayed in the Registers view (1 column, 2 columns, 4 columns, 8 columns, 16 columns).
-
Show ASCII
-
Displays the selected value as ASCII.
-
Detail panel
-
Displays the raw output from GDB for the selected variable.
-
+ +
Toggle Memory Monitor Pane
+
Shows/hides the Memory Monitor pane.
+ +
Toggle Split Pane
+
Toggles the Memory Renderings pane split.
+ +
Link Memory Rendering Panes
+
Synchronizes the selection of two memory renderings.
+ +
Padded String
+
Specifies the string that represents the unretrievable memory.
+ +
Default Column Size
+
Specifies the default +column size of the memory presentation (1 byte, 2 bytes, 4 bytes, 8 bytes). Can +be overwritten by each rendering.
+

Related concepts
Debug information

@@ -42,7 +59,8 @@ options described below are available when you right-click a memory value.

Related reference
Views

-IBM Copyright Statement +IBM Copyright Statement + - \ No newline at end of file + diff --git a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_modules_view.htm b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_modules_view.htm new file mode 100644 index 00000000000..210da2bbd66 --- /dev/null +++ b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_modules_view.htm @@ -0,0 +1,48 @@ + + + + + + + + +Shared Libraries view + + + + + + +

Modules view

+ +

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.

+ +
+
Load Symbols
+
Loads the symbols of the module. The +symbols will be loaded from the file specified in the module's properties.
+ +
Load Symbols For All
+
Loads the symbols of the all modules involved in the current session. This option does not affect +the modules whose symbols are already loaded.
+
+

Related concepts +
+Debug information

+

Related tasks +
+Debugging

+

Related reference +
+Views

+IBM Copyright Statement + + + + diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_memory.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_memory.htm index 946ebefed42..266344964d3 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_memory.htm +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_memory.htm @@ -1,6 +1,6 @@ - + @@ -9,45 +9,60 @@ Working with memory - +

Working with memory

You can inspect and change process memory.

-

The Memory view supports the same addressing as the C language. You -can address memory using expressions such as:

+

The Memory view supports the same addressing as the C and C++ languages. You can address memory using expressions +such as:

+ -

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.

-

You can customize the Memory view to colors and fonts displayed. You can also customize some of its behavior. The customizations affect -the entire Memory view.

-

To change process memory:

-

Warning: Changing process memory can cause a program to crash.

+ +

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.

+ +

You can customize the Memory view to colors and fonts displayed.

+ +

To monitor process memory:

    -
  1. In the Debug view, select a process. Selecting a thread - automatically selects the associated process.
  2. -
  3. In the Memory view, click a memory tab.
  4. -
  5. Do one of the following:
  6. -
    • In the Address box, type an address and press Enter.
    • -
    • In the memory view, type a new value for memory. The Memory - view works in "typeover" mode. To jump from byte to byte use the arrow keys:

       

    +
  7. In the Debug view, select a debug session. Selecting a thread or stack frame automatically +selects the associated session.
  8. + +
  9. Select "Add Memory Monitor" in the context menu of the Memory Monitors pane. +The "Memory Monitor" dialog appears.
  10. + +
  11. Type the address or expression that specifies the memory section you want to monitor and +press "OK". The monitor appears in the monitor list and the Memory Renderings +pane displays the contents of memory locations beginning at the specified address.
  12. +
-

To change the appearance of the Memory view:

+

To view memory in a different rendering:

    -
  1. Do one of the following:
  2. -
    • In the Memory view, click one of the tabs.
    • -
    • Click Window > Preferences.
    -
  3. In list of memory addresses, right-click, and select:
  4. -
    • Format > Hexadecimal, Signed Decimal or Unsigned Decimal.
    • -
    • Memory Unit Size > 1, 2, 4, or 8 bytes
    • -
    • Number of Columns > 1, 2, 4, 8, or 16 columns.
    +
  5. Select "Add Rendering" in the context menu of the Memory Renderings pane. +The "Add Memory Rendering" dialog appears.
  6. + +
  7. Select renderings from the list and press "OK".
  8. +
+

To change process memory:

+ +

Warning: +Changing process memory can cause a program to crash.

+ +
    +
  1. In the Debug view, select a debug session. Selecting a thread or stack frame automatically + selects the associated session.
  2. +
  3. In the Memory Monitors pane, add a new monitor or select an existing monitor.
  4. +
  5. In the Memory Renderings pane add a new rendering or select an existing one.
  6. +
  7. Type a new value for memory.

Related concepts @@ -62,7 +77,6 @@ the entire Memory view.

Debug views

IBM Copyright Statement - - \ No newline at end of file + diff --git a/doc/org.eclipse.cdt.doc.user/topics_Reference.xml b/doc/org.eclipse.cdt.doc.user/topics_Reference.xml index e4ea7facee8..2e148fbef4e 100644 --- a/doc/org.eclipse.cdt.doc.user/topics_Reference.xml +++ b/doc/org.eclipse.cdt.doc.user/topics_Reference.xml @@ -19,7 +19,7 @@ - + @@ -130,4 +130,4 @@ - \ No newline at end of file +