Re: How to View Hex in Debugger
Re: How to View Hex in Debugger
- Subject: Re: How to View Hex in Debugger
- From: Steve Mills <email@hidden>
- Date: Wed, 03 Jun 2015 16:17:51 +0000 (GMT)
On Jun 03, 2015, at 10:40 AM, Dave <email@hidden> wrote:
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