Skip to content

Latest commit

 

History

History
89 lines (65 loc) · 2.51 KB

File metadata and controls

89 lines (65 loc) · 2.51 KB
title List Memory Command
description Learn about the List Memory command and how it displays the contents of the specified range of memory.
ms.date 11/04/2016
ms.topic reference
f1_keywords
debug.listmemory
helpviewer_keywords
Debug.ListMemory command
ListMemory command
list memory command
author Mikejo5000
ms.author mikejo
ms.subservice general-ide

List Memory Command

Displays the contents of the specified range of memory.

Syntax

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

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:

Alias Command and Switches
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 /Format:float /Count:30 /Unicode

See also