Re: NSString out of scope
Re: NSString out of scope
- Subject: Re: NSString out of scope
- From: Pierre Berloquin <email@hidden>
- Date: Tue, 1 Dec 2009 20:25:18 +0100
Thanks. I'm travelling, I'll try that on Friday.
Pierre
2009/12/1 Eddie Aguirre <email@hidden>
> Try printing the variable through gcc at the breakpoint. "po
> langueChoisie"
>
> I've had similar issues but usually printing from gcc will display the
> contents.
>
> --
> Eddie Aguirre
>
> On Dec 1, 2009, at 4:14 AM, Graham Cox wrote:
>
> >
> > On 01/12/2009, at 10:52 PM, Pierre Berloquin wrote:
> >
> >> When I want to test the content of the string I can't and the debugger
> displays "out of scope".
> >
> >
> > Ah, the debugger! Now we are getting somewhere. I see that fairly
> frequently. It's not necessarily indicative of a code error, since as far as
> I can tell from what you've posted, there isn't one.
> >
> > I'm not sure exactly what it is really trying to say, but it typically
> occurs for me when browsing through a stack frame and looking at values that
> are in frames well away from where the debugger has actually stopped. Could
> that be the case? In other words, does it work when you stop immediately
> after allocating the object? It might be indicative of trying to display a
> register value that has been reused or no longer in the cache (guessing).
> >
> > --Graham
> >
> >
> > _______________________________________________
> >
> > Cocoa-dev mailing list (email@hidden)
> >
> > Please do not post admin requests or moderator comments to the list.
> > Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> >
> > Help/Unsubscribe/Update your Subscription:
> >
> > This email sent to email@hidden
>
>
--
Blogs : http://bibliobs.nouvelobs.com/blog/jeux-litteraires
http://pierre-berloquin.blogspot.com/
Développement durable des neurones par le jeu de réflexion
www.crealude.net
Sustainable development of neurones through mind games
www.crealude.net/us
Que fait-on pour les mal-codants ?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden