How to: Select a Memory Location

This topic applies to:

Edition

Visual Basic

C#

C++

Web Developer

Express

Topic does not apply Topic does not apply Topic applies Topic does not apply

Standard

Topic applies but command hidden by default

Topic applies

Topic applies

Topic applies

Pro and Team

Topic applies but command hidden by default

Topic applies

Topic applies

Topic applies

Table legend:

Topic applies

Applies

Topic does not apply

Does not apply

Topic applies but command hidden by default

Command or commands hidden by default.

The Memory window is available only if address-level debugging is enabled the Options dialog box, Debugging node.

If you want to move instantly to a selected location in memory, you can do so by using a drag-and-drop operation or by editing the value in the Address box. The Address box accepts not only numeric values, but also expressions that evaluate to addresses. By default, the Memory window treats an Address expression as a live expression, which is reevaluated as your program executes. Live expressions can be quite handy. For example, you can use them to look at the memory that is touched by a pointer.

Note

The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.

To select a memory location using drag and drop

  1. In any window, select a memory address or pointer variable that contains a memory address.

  2. Drag the address or pointer to the Memory window.

To select a memory location by editing

  1. In the Memory window, select the Address box.

  2. Type or paste the address you want to see, and press ENTER.

See Also

Concepts

Memory Windows