• 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: variable viewing in gdb window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: variable viewing in gdb window


  • Subject: Re: variable viewing in gdb window
  • From: Daniel Luis dos Santos <email@hidden>
  • Date: Sat, 28 Feb 2009 20:01:43 +0000

No I just want to know the value returned by that method. In this case the value of the pointer, so I can see the memory contents in the memory browser.


On Feb 28, 2009, at 6:46 PM, David Dunham wrote:


On 28 Feb 2009, at 07:33, Daniel Luis dos Santos wrote:

	NSData *data = [pageFile readDataOfLength: lengthToRead];

I then want to know the value of calling the method : [data bytes]

I write that on the gdb command window and it tells me :


You use something like p (long) [data bytes] ?

David Dunham     A Sharp, LLC
Voice/Fax: 206 783 7404     http://a-sharp.com
Efficiency is intelligent laziness.

_______________________________________________
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

_______________________________________________ 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: variable viewing in gdb window
      • From: Andy Lee <email@hidden>
References: 
 >variable viewing in gdb window (From: Daniel Luis dos Santos <email@hidden>)
 >Re: variable viewing in gdb window (From: David Dunham <email@hidden>)

  • Prev by Date: Re: variable viewing in gdb window
  • Next by Date: Re: variable viewing in gdb window
  • Previous by thread: Re: variable viewing in gdb window
  • Next by thread: Re: variable viewing in gdb window
  • Index(es):
    • Date
    • Thread