Export (0) Print
Expand All
Expand Minimize

ds, dS (Display String)

The ds and dS commands display a STRING, ANSI_STRING, or UNICODE_STRING structure. (These commands do not display null-delimited character strings.)

d{s|S} [/c Width] [Address]

Parameters

s

Specifies that a STRING or ANSI_STRING structure is to be displayed. (This s is case-sensitive.)

S

Specifies that a UNICODE_STRING structure is to be displayed. (This S is case-sensitive.)

/c Width

Specifies the number of characters to display on each line. This number includes null characters, which will not be visible.

Address

The memory address where the string begins. For more syntax details, see Address and Address Range Syntax. If omitted, the last address used in a display command is assumed.

Environment

Modes

user mode, kernel mode

Targets

live, crash dump

Platforms

all

 

Additional Information

For an overview of memory manipulation and a description of other memory-related commands, see Reading and Writing Memory.

Remarks

If you want to display Unicode strings in the Locals window or Watch window of WinDbg, you need to use the .enable_unicode (Enable Unicode Display) command first.

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft