Memory Pane

From RAD Studio
Jump to: navigation, search

Go Up to CPU Windows Index


View > Debug Windows > CPU Windows > Memory

Displays the raw values contained in addressable areas of your program. The pane displays the memory addresses, the current values in memory, and optionally a character representation of the values in memory (depending on the current Display As mode).

The Memory pane is located on the lower left side of the window when the Entire CPU view is displayed (View > Debug Windows > CPU Windows > Entire CPU).

There are four different Memory views (Memory 1, Memory 2, and so forth) in order to view four distinct areas in memory at the same time. You can have more than one view and then use Goto Address from the context menu in the separate views to look at different places in memory at the same time.

The leftmost part of each line shows the starting address of the line. Following the address listing is a representation of the values contained at that location in memory. The format of this representation is controlled by the Display As context menu command.

To shift the starting point of the display up or down one byte, press CTRL+LEFT-ARROW or CTRL+RIGHT-ARROW.


Item Description

Goto Address

Displays the Enter Address to Position to dialog box where you can enter a symbol or, for managed code, an address in just in time (JIT) compiler format.

Search

Displays the Enter Search Bytes dialog box where you can search forward in the CPU window for an expression or byte list (click Help on the Enter Search Bytes dialog box for details).

Next

Finds the next occurrence of the item you last searched for in the Memory pane.

Change

Displays the Enter New Value dialog box, allows you to modify the memory located at the current cursor location, and prompts you for an item of the current display type.

Follow

Choose either of the following:

  • Near Code - Positions the Disassembly pane at the address currently selected in the Memory pane. Only available when the Memory pane is displayed as part of the Entire CPU view (not when the view is opened standalone).
  • Offset to Data - Lets you follow DWord-pointer chains (near and offset only) and positions the Memory pane at the address specified by the DWord currently highlighted.

Only the Offset to Data subcommand is available in the standalone Memory window. When the Entire CPU view is open, both of the Follow subcommands are available.

Previous

Restores the Memory pane of the CPU window to the location displayed before you issued the last Follow or Goto Address command.

Display As

Formats the data listed in the Memory pane. Choose any of the data formats listed:

  • Bytes (hexadecimal bytes)
  • Words (2-byte hexadecimal numbers)
  • DWords (4-byte hexadecimal numbers)
  • QWords (8-byte hexadecimal numbers)
  • Floats (4-byte floating-point numbers using scientific notation)
  • Doubles (8-byte floating-point numbers using scientific notation)
  • Long Doubles (10-byte floating-point numbers using scientific notation)
  • Multibyte (hexadecimal bytes with the character representation showing multi-byte ANSI characters using the current locale)
  • UTF8 (hexadecimal bytes with the character representation showing Unicode characters inferred from UTF8-encoded data)
  • Unicode (hexadecimal words with the character representation showing Unicode characters)

Copy

Copies the selected data to the clipboard.

Stay on Top

Keeps the Memory pane on top of other windows in the IDE. Only available in the standalone Memory views, not when the pane is shown as part of the Entire CPU view.

Dockable

Makes the Memory pane a dockable window that you can move around in the IDE. Only available in the standalone Memory views, not when the pane is shown as part of the Entire CPU view.

View FPU

Displays the FPU window, which enables you to view the contents of the FPU component of the CPU. You can display either floating-point information or MMX information. Only available when the Memory pane is displayed as part of the Entire CPU view (not when the view is opened standalone).


See Also