• 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: Breakpoints with 2 projects open
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Breakpoints with 2 projects open


  • Subject: Re: Breakpoints with 2 projects open
  • From: Paul Johnson <email@hidden>
  • Date: Wed, 12 Jan 2011 12:50:27 -0600

Well, Han, I thought your advice had solved my problem with breakpointing within 2 open projects. You helped me understand what's happening, but I see now what's going wrong. Apparently the debugger doesn't correctly keep track of the file names: In the second project I have a breakpoint (at line 239 in my case) in a file with the same name but in a DIFFERENT DIRECTORY than in the first project. Nevertheless, when I do a Continue in the first project I stop at the same line number where I had the breakpoint set in the 2nd project.

This is no doubt a bug in Xcode.

At least I can debug in this weird fashion now that I understand what to expect with the breakpointing. Thanks.

On Wed, Jan 12, 2011 at 11:00 AM, Han Ming Ong <email@hidden> wrote:
- Go to the Groups & Files view of the project having phantom breakpoints
- Find the entry 'Breakpoints > Project Breakpoints'
- Uncheck the reference to the other project

If that doesn't work
- When the project is running
- Go to the Console
- do 'Info breakpoints'
- once you find your breakpoint, do 'delete <Num>' where '<Num>' is your breakpoint number

Hope that helps, Han Ming

On Jan 12, 2011, at 8:39 AM, Paul Johnson wrote:

I have two projects open at the same time and am trying to step through each of them in turn to compare results. I have set breakpoints at places in each project.

When I do a "Run" in one of the projects it stops where I don't have a breakpoint. This seems to be related to the other project being open.

I searched the Xcode archives for report of a similar problem and didn't find anything. Can anyone offer a suggestion?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)

This email sent to email@hidden


 _______________________________________________
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: 
 >Breakpoints with 2 projects open (From: Paul Johnson <email@hidden>)
 >Re: Breakpoints with 2 projects open (From: Han Ming Ong <email@hidden>)

  • Prev by Date: Re: Implicit declaration of function 'writev'
  • Next by Date: 3.2.5 Active Configuration Confusion
  • Previous by thread: Re: Breakpoints with 2 projects open
  • Next by thread: Implicit declaration of function 'writev'
  • Index(es):
    • Date
    • Thread