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 protected])
> 
> 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:
> http://lists.apple.com/mailman/options/cocoa-dev/eddie%40markzware.com
> 
> This email sent to [email protected]

_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to