Re: PC indicator didn't locate on the correct line
Re: PC indicator didn't locate on the correct line
- Subject: Re: PC indicator didn't locate on the correct line
- From: "Mark Wagner" <email@hidden>
- Date: Wed, 28 Feb 2007 14:21:12 -0800
On 2/28/07, Fei Li <email@hidden> wrote:
Hello all,
I'm debugging a software project with some static libraries linked in. When
I do the debug, the program do pause on the breakpoint I set, but when I do
step over, it jump back and forth on some line sometimes, or it jump to the
code several lines forwards, it didn't pause right after the line most of
the time. I have this problem before, and my co-worker had this problem
also.
Dose anyone know why it act like that. Sometimes it works fine.
Did you compile with optimizations enabled? Part of the optimizing
process re-orders the machine code instructions so that the CPU can
handle them more efficiently. This gives the effect you're seeing.
--
Mark
_______________________________________________
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