Viewing Memory Locations
In the debug area, Control-click the variable whose memory you want to view.
Choose View Memory of “variable” from the shortcut menu.
Use the debug navigator to select from among the viewed memory locations.
View memory locations to examine the raw contents of program variables. When you view a new memory location from the debug area, an entry is added to the debug navigator and selected. The contents of the selected memory entry are then displayed in the memory browser in editor pane.
The bottom of the memory browser contains controls you use to navigate the memory and customize its display:
Address. Specifies the beginning address of the memory displayed in the memory browser.
Memory Page. Moves back or forward a memory page.
Number of Bytes. Specifies the number bytes in a memory page.
Byte Grouping. Specifies the size of the memory chunks displayed.
Memory locations are valid only while the application is running in the current debugging session. When you quit the application, Xcode removes all memory entries from the debug navigator and discards them. To remove a memory entry while you are still debugging, select the entry and press Delete.
© 2012 Apple Inc. All Rights Reserved. (Last updated: 2012-09-19)