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

variable viewing in gdb window


  • Subject: variable viewing in gdb window
  • From: Daniel Luis dos Santos <email@hidden>
  • Date: Sat, 28 Feb 2009 15:33:59 +0000

Hi,

I am debugging objective C code and while stopped after a source code line like :

NSData *data = "" 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 : 

Target does not respond to this message selector.

I don't understand why this is so, and if in Xcode I select the option "Print description" from the context menu it prints the description. But I really want  to know the value of the pointer.

Help !
 _______________________________________________
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: David Dunham <email@hidden>
  • Prev by Date: Error message on import to svn repository
  • Next by Date: Re: variable viewing in gdb window
  • Previous by thread: Error message on import to svn repository
  • Next by thread: Re: variable viewing in gdb window
  • Index(es):
    • Date
    • Thread