• 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: Viewing CFString values in XCode debugger
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

re: Viewing CFString values in XCode debugger


  • Subject: re: Viewing CFString values in XCode debugger
  • From: George Warner <email@hidden>
  • Date: Fri, 24 Dec 2004 13:05:18 -0800

On Fri, 24 Dec 2004 11:31:34 -0800, Mike Lazear <email@hidden> wrote:

> I'm trying to debug a CFStringRef problem in my program.  Is there any
> way
> to see the value of the CFString as a readable string in the variable
> section
> of the debugger?
>
> I realize CFString is a opaque struct but it would be really nice to
> see the
> contents rather than just the hex value of the memory address that a
> CFStringRef currently shows.
>
> I guess what I'm looking for is the correct Summary format statement
> that
> will make the CFString readable.

IIRC this was fixed in XCode 1.5. If you can't upgrade you'll have to open
the gdb console and type:

(gdb) call (void) CFShow(myCFStringRef)


--
Enjoy,
George Warner,
Schizophrenic Optimization Scientist
Apple Developer Technical Support (DTS)


 _______________________________________________
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

  • Prev by Date: Re: Viewing CFString values in XCode debugger
  • Next by Date: XCode 1.5: Search Paths in Target vs Build Style
  • Previous by thread: Re: Viewing CFString values in XCode debugger
  • Next by thread: XCode 1.5: Search Paths in Target vs Build Style
  • Index(es):
    • Date
    • Thread