dv (Display Local Variables)
The dv command displays the names and values of all local variables in the current scope.
dv [Flags] [Pattern]
Causes additional information to be displayed. Any of the following case-sensitive Flags can be included:
Lets you specify an arbitrary function address so that you can see what parameters and locals exist for any code anywhere. It turns off the value display and implies /V. The /f flag must be the last flag. A parameter filter pattern can still be specified after it if the string is quoted.
Causes the display to specify the kind of variable: local, global, parameter, function, or unknown.
Causes the display to include the data type for each local variable.
Causes the display to include the virtual memory address or register location of each local variable.
Same as /v, and also includes the address of the local variable relative to the relevant register.
Sorts the output by address, in ascending order.
Sorts the output by address, in descending order.
Sorts the output by name, in ascending order.
Sorts the output by name, in descending order.
Sorts the output by size, in ascending order.
Sorts the output by size, in descending order.
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.
user mode, kernel mode
live, crash dump
For details on displaying and changing local variables and a description of other memory-related commands, see Reading and Writing Memory.
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.
Send feedback about: