• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to View Hex in Debugger
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: How to View Hex in Debugger
      • From: Dave <email@hidden>
  • Prev by Date: How to View Hex in Debugger
  • Next by Date: "Show Notices" / IBC_NOTICES, how to easily see IB notices?
  • Previous by thread: How to View Hex in Debugger
  • Next by thread: Re: How to View Hex in Debugger
  • Index(es):
    • Date
    • Thread