共用方式為


How to: Page Up or Down in Memory

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

When you view memory contents in a Memory window or the Disassembly window, you can use the vertical scrollbar to move up or down in the memory space.

To page up or down in memory

  1. To page down (move to a higher memory address), click the vertical scrollbar below the scroll box.

  2. To page up (move to a lower memory address), click the vertical scrollbar above the thumb.

    You will also notice that the vertical scrollbar operates in a nonstandard manner. The address space of a modern computer is very large, and it would be easy to get lost by grabbing the scrollbar thumb and dragging it to a random location. For this reason, the thumb is "springloaded" and always remains in the center of the scrollbar. In native code applications, you can page up or down, but cannot scroll about freely.

    In managed applications, disassembly is limited to one function and you can scroll normally.

    You will notice that the higher addresses appear at the bottom of the window. To view a higher address, you must move down, not up.

To move up or down one instruction

  • Click the arrow at the top or bottom of the vertical scrollbar.

See also