Re: Data Formatters in 2.2
Re: Data Formatters in 2.2
- Subject: Re: Data Formatters in 2.2
- From: "Yves Poissant" <email@hidden>
- Date: Fri, 2 Dec 2005 09:16:50 -0500
- Organization: Hash Enterprises Inc.
On 2 Dec 2005, at 09:35, Jerry wrote:
Are data formatters supposed to work in Xcode 2.2?
I just get the text of the formatter in the summary column in gray (e.g.
%(char *)$VAR.c_str():s%). Actually I've never seen data formatters work in
any version of XCode across any of the 3 machines I have it installed on,
but I gather from posts on the lists that they must have worked for some
people at some time.
OK, I remember there being
some post on the list about XCode being psychic, but I hadn't experienced it
before. About 10 second after posting the above, I pressed the single step
button and suddenly I saw a working data formatter! It only works for some
variables though - I have an s1 and a s2 in the same function and one displays
and one doesn't. Still, at least it's better than every variable in showing
"incomplete type".
Psychic I don't know. But I discovered, just yesterday, that XCode
can be very slow at figuring that there might be some things to display in the
variables window. Up untill yesterday, I thought that XCode just didn't know
about the current class that it is debugging in. Trying to disclose the
"this" pointer just showed nothing except empty private and public categories.
But yesterday, I missed my target and clicked on the "this" disclosure triangle
again after closing it and there they were. All the private and public members
displayed there. So now I know that whenever I'm tracing inside a class function
member, if I need to examine any members of that class, I need to wait like 1
minute or just be persistent and disclose ... close ... disclose, until the
content appears. I also found out that if the members don't show up when I
disclose, then it will never show up. I need to close and disclose. I retested
that a few times and it seems to be consistent.
Yves Poissant
www.hash.com
|
_______________________________________________
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