Displaying Variables

Use the d command to display an application's global variables. These commands can use a variable's symbol as an argument and compute the variable's address.

For example, the d command to dump a word

dw hwInstance
 

causes NTSD or KD to display the contents of the variable hwInstance, which might be:

00000235 0000 0000 0000 0000 0000 0000
 

Local variables are not available.