Using Xcode 4.2. When viewing memory in the memory browser, the memory addresses in the leftmost column (called "Line Numbers" in the Editor menu) are showing up as decimal numbers. Earlier today, they were in hex. I much prefer hex but I can't figure out how to change the format from decimal back to hex.
The individual variables, shown in the Variables View, have addresses in hex. The contents of memory are also shown in hex.
Edit: Screenshot: The red rectangle is around the decimal addresses. I have since found that clicking anywhere in the column with the red rect toggles between hex and decimal addresses.
Thx to CocoaFu for helping me figure this out.
.
Not sure how you are trying but the first clue is "Line Numbers" that you are not viewing memory. I created:
int *a = malloc(500);
a[0] = 3;
right (control) clicked on the "a" in the locals variable display, selected
View Memory of "*a"
Click in the red rect to change between different address bases (decimal/hexadecimal)--thanks to @onquest
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With