Viewing and Editing Memory in CDB

Viewing and Editing Memory

In CDB, you can view and edit memory by entering one of the Display Memory commands, and you can edit memory by entering one of the Enter Values commands. For a detailed discussion of these commands, see Accessing Memory by Virtual Address and Accessing Memory by Physical Address.

Viewing and Editing Variables

In CDB, you can view and edit global variables by entering commands. The debugger interprets the name of a global variable as a virtual address. Therefore, all of the commands that are described in Accessing Memory by Virtual Address can be used to read or write global variables. For additional information about viewing and editing global variables, see Accessing Global Variables.

In CDB you can view and edit local variables by entering commands. The debugger interprets the name of a local variable as an address. Therefore, all of the commands that are described in Accessing Memory by Virtual Address can be used to read or write local variables. However, if it is necessary to indicate to a command that a symbol is local, precede the symbol with a dollar sign ( $ ) and an exclamation point ( ! ), as in $!var. For additional information about viewing and editing local variables, see Accessing Local Variables.

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft. All rights reserved.