• 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: Jerry <email@hidden>
  • Date: Mon, 16 Jan 2006 16:41:39 +0000


On 16 Jan 2006, at 16:27, Lyndsey Ferguson wrote:

I am experiencing problems debugging and wanted to know if these were known problems.

1. When I am debugging, generally when I "step over" the pc indicator will sometimes step to the next line of code, but then quite often will jump up to previous lines of code and then perhaps step to the next line after its "new" line of code or sometimes jump to what I thought was the next line of code.

Is this a known bug? Is there some setting that I can select to enable normal debugging? I want to make sure there isn't something that I've done before I start entering bugs.

2. I frequently find that sometimes Xcode's debugger will simply race by any breakpoints I have made and then crash on the other side of my dozen breakpoints that should have been triggered before the crash. What do I have to do to make the breakpoints real?

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.


Jerry

_______________________________________________
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


  • Follow-Ups:
    • Re: Debugging Problems
      • From: Lyndsey Ferguson <email@hidden>
References: 
 >Debugging Problems (From: Lyndsey Ferguson <email@hidden>)

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