How to: Follow a Pointer Through Memory
This topic applies to:
Pro and Team
Does not apply
Command or commands hidden by default.
The Memory window is available only if address-level debugging is enabled the Options dialog box, Debugging node.
In native code applications, you can use register names as live expressions. For example, you can use the stack pointer to follow the stack.
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 follow a pointer through memory
In the Memory window Address box, type a pointer expression. The pointer variable must be within the current scope. Depending on the language, you might need to dereference it.
Now, when you use an execution command, such as Step, the memory address displayed will automatically change as the pointer changes.