You can use the Memory window to view large buffers, strings, and other data that do not display well in the Watch or Variables window.
By default, the Memory window displays numbers in decimal (base 10) format. You can control the Memory window display by using options on the Debug tab in the Options dialog box on the Tools menu. To view Unicode in the Memory window, set the Format option to Wide Char. To display data bytes with Unicode characters, select the Show Data Bytes check box also.
To view memory contents at a specified location using drag-and-drop functionality
The Memory window appears.
To view memory contents at a specified location by editing
The Memory window appears.
The Memory window displays the contents of memory locations beginning at the address specified in the Address box.
To view memory contents at a specified location using Go To
The Memory window appears.
The Go To dialog box appears.
To specify a live expression for the memory location
The Memory window appears.
The Options dialog box appears.
You can type *pPtr
, for example, to display memory contents starting at the address pointed to by pPtr
.
You can view some items more easily using live expressions. On an Intel-compatible system, you can examine the top of the stack by typing ESP
as a live expression. By specifying a pointer variable, you can use the Memory window to follow the pointer as it increments through an array.