• 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: Debugging Problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugging Problems


  • Subject: Re: Debugging Problems
  • From: Shawn Erickson <email@hidden>
  • Date: Mon, 16 Jan 2006 09:24:40 -0800

On 1/16/06, Lyndsey Ferguson <email@hidden> wrote:
>
>
> On Jan 16, 2006, at 11:41 AM, Jerry wrote:
> If you're debugging optimized code, the instructions for each line get
> completely mixed up in the object code, and Xcode has no idea where to put
> the pc indicator. The solution is to only debug with optimization off.
> Thanks Jerry. Sounds like a bug to me, if Xcode has no idea how to debug
> with the Os optimization, I think that it should not be the default :). I
> will try with -O0.

In all of the projects that Xcode has created for me the "debug" (aka
"development") build style is set to specify -O0 (or no optimization).

-Shawn
 _______________________________________________
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: 
 >Debugging Problems (From: Lyndsey Ferguson <email@hidden>)
 >Re: Debugging Problems (From: Jerry <email@hidden>)
 >Re: Debugging Problems (From: Lyndsey Ferguson <email@hidden>)

  • Prev by Date: GetAliasSize
  • Next by Date: Re: Debugging Problems
  • Previous by thread: Re: Debugging Problems
  • Next by thread: Re: Debugging Problems
  • Index(es):
    • Date
    • Thread