Click to Rate and Give Feedback
MSDN
MSDN Library
Diagnostics
Debuggers
Debugger Reference
Debugger Commands
Commands
 dv (Display Local Variables)
Debugging Tools for Windows
dv (Display Local Variables)

The dv command displays the names and values of all local variables in the current scope.

Syntax

dv [Flags] [Pattern

Parameters

Flags
Pattern
Causes the command to only display local variables that match the specified Pattern. The pattern may contain a variety of wildcards and specifiers; see String Wildcard Syntax for details. If Pattern contains spaces, it must be enclosed in quotation marks. If Pattern is omitted, all local variables will be displayed.

Environment

Modesuser mode, kernel mode
Targetslive, crash dump
Platformsall

Comments

In verbose mode, the addresses of the variables are displayed as well. (This can also be done with the x (Examine Symbols) command.)

Data structures and unfamiliar data types are not displayed in full; rather, their type name is displayed. To display the entire structure, or display a particular member of the structure, use the dt (Display Type) command.

The local context determines which set of local variables will be displayed. By default, this context matches the current position of the program counter. For information about how this can be changed, see Local Context.

Additional Information

For details on displaying and changing local variables and a description of other memory-related commands, see Reading and Writing Memory.

Build machine: CAPEBUILD
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker