re: Viewing CFString values in XCode debugger
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