Share via


How to: Select a Memory Location 

This topic applies to:

Visual Studio Edition

Visual Basic

C#

C++

J#

Express Edition

No

No

Yes

No

Standard Edition

Hidden

Yes

Yes

Yes

Pro/Team Edition

Hidden

Yes

Yes

Yes

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.

NoteNote

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. From any window, select a memory address or pointer variable containing 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