Hi,

Thanks I’ll have a play around but it’s still very hard to use compared to 
other Debuggers I’ve used.

I just checked on an old machine running XCode 3, the Memory display handling 
is so much better. I thought I remember being able to do all the things I 
wanted but couldn’t remember which App it was in. I think the XCode 3 way of 
doing things was copied from CodeWarrior which pretty much set the standard for 
Mac based development back in the day.

Cheers
Dave

> On 4 Jun 2015, at 12:53, Dave <[email protected]> wrote:
> 
> 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] 
>> <mailto:[email protected]>> wrote:
>> 
>> On Jun 03, 2015, at 10:40 AM, Dave <[email protected] 
>> <mailto:[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/dave%40looktowindward.com
> 
> This email sent to [email protected]

 _______________________________________________
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]

Reply via email to