We recommend using Visual Studio 2017

List Memory Command

 

For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.

For the latest documentation on Visual Studio 2017, see List Memory Command on docs.microsoft.com. Displays the contents of the specified range of memory.

Debug.ListMemory [/ANSI|Unicode] [/Count:number] [/Format:formattype]  
[/Hex|Signed|Unsigned] [expression]  

expression
Optional. The memory address from which to begin displaying memory.

/ANSI|Unicode
Optional. Display the memory as characters corresponding to the bytes of memory, either ANSI or Unicode.

/Count:number
Optional. Determines how many bytes of memory to display, starting at expression.

/Format:formattype
Optional. Format type for viewing memory information in the Memory window; may be OneByte, TwoBytes, FourBytes, EightBytes, Float (32-bit), or Double (64-bit). If OneByte is used, /Unicode is unavailable.

/Hex|Signed|Unsigned
Optional. Specifies the format for viewing numbers: as signed, unsigned, or hexadecimal.

Instead of writing out a complete Debug.ListMemory command with all switches, you can invoke the command using predefined aliases with certain switches preset to specified values. For example, instead of entering:

>Debug.ListMemory /Format:float /Count:30 /Unicode  

you can write:

>df /Count:30 /Unicode  

Here is a list of the available aliases for the Debug.ListMemory command:

AliasCommand and Switches
dDebug.ListMemory
daDebug.ListMemory /Ansi
dbDebug.ListMemory /Format:OneByte
dcDebug.ListMemory /Format:FourBytes /Ansi
ddDebug.ListMemory /Format:FourBytes
dfDebug.ListMemory /Format:Float
dqDebug.ListMemory /Format:EightBytes
duDebug.ListMemory /Unicode
>Debug.ListMemory /Format:float /Count:30 /Unicode  

List Call Stack Command
List Threads Command
Visual Studio Commands
Command Window
Find/Command Box
Visual Studio Command Aliases

Show: