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 > On 3 Jun 2015, at 17:17, Steve Mills <[email protected]> wrote: > > On Jun 03, 2015, at 10:40 AM, Dave <[email protected]> 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 protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com This email sent to [email protected]
