• 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: PC indicator didn't locate on the correct line
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >PC indicator didn't locate on the correct line (From: "Fei Li" <email@hidden>)

  • Prev by Date: PC indicator didn't locate on the correct line
  • Next by Date: Re: Application seems disconnected from Xcode
  • Previous by thread: PC indicator didn't locate on the correct line
  • Index(es):
    • Date
    • Thread