Share via


List Memory Command

Displays the contents of the specified range of memory.

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

Arguments

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

Switches

  • /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.

Remarks

The List Memory command has a number of aliases to make it easier to invoke with different parameters. For example, instead of entering:

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

you can use:

>df /Count:30 /Unicode

Here is a list of all of the List Memory aliases.

Alias Command
d Debug.ListMemory
da Debug.ListMemory /Ansi
db Debug.ListMemory /Format:OneByte
dc Debug.ListMemory /Format:FourBytes /Ansi
dd Debug.ListMemory /Format:FourBytes
df Debug.ListMemory /Format:Float
dq Debug.ListMemory /Format:EightBytes
du Debug.ListMemory /Unicode

Example

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

See Also

Visual Studio Commands with Arguments | Command Window | Find/Command Box | List Call Stack Command | List Programs Command | List Threads Command | Pre-defined Visual Studio Command Aliases