Debugging Tools for Windows

Memory Window

The Memory window displays a formatted range of memory. You can open more than one Memory window at the same time. (This behavior differs from the other debugging information windows.)

Opening the Memory Window

To open a Memory window, in the WinDbg window, on the View menu, click Memory. (You can also press ALT+5 or click the Memory (Alt+5) button () on the toolbar. ALT+SHIFT+5 will close the active Memory window.)

The following figure shows an example of a Memory window.

The Memory window displays data in several columns. The column on the left side of the window shows the beginning address of each line. The remaining columns display the requested information, from left to right. If you select Bytes in the Display format menu, the ASCII characters that correspond to these bytes are displayed in the right side of the window.

Note  By default, the Memory window displays virtual memory. This type of memory is the only type of memory that is available in user mode. In kernel mode, you can use the Memory Options dialog box to display physical memory and other data spaces. The Memory Options dialog box is described later in this topic.

Using the Memory Window

In the Memory window, you can do the following:

Toolbar and Shortcut Menu

The Memory window has a toolbar that contains two buttons, a menu, and a box and has a shortcut menu with additional commands. To access the menu, right-click the title bar or click the icon near the upper-right corner of the window (). The toolbar and shortcut menu contain the following choices:

Memory Options Dialog Box

When you click Properties on the shortcut menu, the Memory Options dialog box appears.

In kernel mode, there are six memory types available as tabs in this dialog box: Virtual Memory, Physical Memory, Bus Data, Control Data, I/O (I/O port information), and MSR (model-specific register information). Click the tab that corresponds to the information that you want to access.

In user mode, only the Virtual Memory tab is available.

Each tab enables you to specify the memory that you want to display:

Each tab also includes a Display format menu. This menu has the same effect as the Display format menu in the Memory window.

Click OK in the Memory Options dialog box to cause your changes to take effect.

Additional Information

For more information about memory manipulation and a description of other memory-related commands, see Reading and Writing Memory. For more information about docked, tabbed, and floating windows, see Positioning the Windows. For more information about all techniques that you can use to control debugging information windows, see Using Debugging Information Windows.

Build machine: CAPEBUILD