Re: How to View Hex in Debugger
Re: How to View Hex in Debugger
- Subject: Re: How to View Hex in Debugger
- From: Dave <email@hidden>
- Date: Thu, 04 Jun 2015 12:53:46 +0100
Hi,
Thanks viewing it in a separate window makes things a little easier, but is there a way to get the addresses on the left to display in Hex too? Also is there a way to specify a type that “myBufferPtr” points to as something other than bytes? e.g. Int64, 32, 16, 8 etc and in Big/Little Endian?
All the Best Dave
How can I View a Raw Buffer in the Debugger? I’ve tried right clicking and selecting View Raw Memory, but firstly this Changes the Source code display to Show the Memory instead if using the Value Inspection pane, secondly, it displays the addresses in decimal instead of hex and thirdly I don’t think its displaying the correct data anyway.
I have this code:
void*myBufferPtr;
myBufferPtr = malloc(myTotalLength * sizeof(NSUInteger)); if (myBufferPtr == NULL) returnnil;
[self getIndexes:myBufferPtr];
And I just want to look at the data pointed to by myBufferPtr.
Right-click the variable myBufferPtr and choose View Memory of "*myBufferPtr". Hold down option-shift as you choose that menu item to open the navigation chooser, then you can double-click the "open in a new window" dealy bob so it won't replace your source code view.
Steve
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden