Bewerken

Delen via


Viewing and Editing Memory in KD

Viewing and Editing Memory

In KD, 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 KD, 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 KD 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.