Re: Two XCode questions/problems with strings
Re: Two XCode questions/problems with strings
- Subject: Re: Two XCode questions/problems with strings
- From: Mike Kobb <email@hidden>
- Date: Wed, 26 Dec 2007 14:05:25 -0600
Hi Andrew,
Thanks for the info! I will definitely file a bug w/Apple regarding
the truncation issue. It's very confusing.
On Dec 23, 2007, at 5:40 PM, Andrew Pontious wrote:
On Dec 21, 2007, at 11:17 PM, Mike Kobb wrote:
Yet, when I tried to view the contents of this item, it seemed to
be either empty or invalid. I tried to "View Value As..." an
NSString *, but that still displayed no text. The initial class
that shows up when I open the View Value As window is "NSPathStore2
*". Is there some way I could have actually viewed this result as
an NSString, which is what the documentation says that the function
returns? Also, given the fact that these path utilities are pretty
fundamental, shouldn't XCode be able to display "Summary"
information for whatever class this really is?
Maybe it is an invalid object? If so, the debugger will have trouble
showing it to you, because it doesn't have the correct information
it needs to do the display.
I'm pretty sure it was not an invalid object. Once I figured out that
XCode was just not showing me the string contents, I realized that the
actual bug in my code was a little farther down. I made no changes at
all to the object in question, and it works fine. So, it seems like
an issue with XCode failing for some reason to get the string to
display on that object. I will file a bug for that one as well. If I
can find the time, I'll try to put together a simple little file that
reproduces the issue.
Thanks again for your thoughts and the useful tips.
--Mike
_______________________________________________
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