• 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: missing local variables in debugger
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: missing local variables in debugger


  • Subject: Re: missing local variables in debugger
  • From: Support <email@hidden>
  • Date: Fri, 14 Oct 2005 23:27:19 -0700

It was the optimization!

Thanks.

john

On 14-Oct-05, at 8:28 PM, Chris Espinosa wrote:

On Oct 14, 2005, at 8:18 PM, Support wrote:


Many of my local variables are not displayed in the debugger.
Is there someway to get them back? Clearing the targets doesn't
help.

I'm writing C++ in Carbon.


In what version of Xcode?

Are you using an optimized build? Optimization can actually optimize out locals in some cases so they actually never appear in your executable.

What happens if you go to the Console and try 'p <variable>' ? Does gdb know your variables are there?

Chris



_______________________________________________ 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
References: 
 >missing local variables in debugger (From: Support <email@hidden>)
 >Re: missing local variables in debugger (From: Chris Espinosa <email@hidden>)

  • Prev by Date: Re: Can't clear build flag
  • Next by Date: Re: Subversion + Xcode + é == Headache (Followup)
  • Previous by thread: Re: missing local variables in debugger
  • Next by thread: Xcode 2.1 + J2EE templates = Preview build?
  • Index(es):
    • Date
    • Thread