Re: NSString out of scope
Re: NSString out of scope
- Subject: Re: NSString out of scope
- From: Graham Cox <email@hidden>
- Date: Tue, 1 Dec 2009 23:14:44 +1100
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