re: Local variables not displayed in debugger
re: Local variables not displayed in debugger
- Subject: re: Local variables not displayed in debugger
- From: George Warner <email@hidden>
- Date: Tue, 10 May 2005 09:57:05 -0700
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)
_______________________________________________
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