Re: Local variables not displayed in debugger
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