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

Re: Local variables not displayed in debugger


  • Subject: Re: Local variables not displayed in debugger
  • From: Larry Gerndt <email@hidden>
  • Date: Tue, 10 May 2005 10:59:17 -0700

Wow, you were right, George, thank you so much.  I checked my "development" build style and found that the Optimization Level was set to "fastest".  Unless I'm overlooking something, this appears to be the default value for the default development build style?   I had assumed all along that the default would be "none".

On May 10, 2005, at 9:57 AM, George Warner wrote:

On Tue, 10 May 2005 01:02:34 -0700, Larry Gerndt <email@hidden> wrote:


Sigh...I've had numerous problems with the debugger, here's the
latest:  It doesn't display local variables properly.  Some are
missing, some duplicated three times (and yes, there's only defined
in the source).  Do I have a hopelessly messed up project on my hand
or is this a known bug?


The most common cause of this is having optimization on. It should always be
-O0 (off) for debugging otherwise you get out-of-order execution, register
reuse, etc. all which make the code run faster but confuse the debugger.


-- 
Enjoy,
George Warner,
Schizophrenic Optimization Scientist
Apple Developer Technical Support (DTS)




--

Larry Gerndt

AIM Handle: SonOfTheSonOfMan

Let the truth be told though the heavens fall -- James Garrison




 _______________________________________________
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

  • Follow-Ups:
    • Re: Local variables not displayed in debugger
      • From: George Warner <email@hidden>
References: 
 >re: Local variables not displayed in debugger (From: George Warner <email@hidden>)

  • Prev by Date: Re: XCode/xcodebuild problems...
  • Next by Date: Re: "'char' type is unsigned" seems to be broken
  • Previous by thread: re: Local variables not displayed in debugger
  • Next by thread: Re: Local variables not displayed in debugger
  • Index(es):
    • Date
    • Thread