• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSString out of scope
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSString out of scope


  • Subject: Re: NSString out of scope
  • From: Eddie Aguirre <email@hidden>
  • Date: Tue, 1 Dec 2009 10:35:48 -0800

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

_______________________________________________

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

  • Follow-Ups:
    • Re: NSString out of scope
      • From: Pierre Berloquin <email@hidden>
References: 
 >NSString out of scope (From: Pierre Berloquin <email@hidden>)
 >Re: NSString out of scope (From: Graham Cox <email@hidden>)
 >Re: NSString out of scope (From: Pierre Berloquin <email@hidden>)
 >Re: NSString out of scope (From: Roland King <email@hidden>)
 >Re: NSString out of scope (From: Pierre Berloquin <email@hidden>)
 >Re: NSString out of scope (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: totally baffled by "odoc" apple event failing on launch
  • Next by Date: Re: Carbon menus in Cocoa app
  • Previous by thread: Please ask clearer questions [Re: NSString out of scope]
  • Next by thread: Re: NSString out of scope
  • Index(es):
    • Date
    • Thread