• 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
Breakpoints hit but not set?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Breakpoints hit but not set?


  • Subject: Breakpoints hit but not set?
  • From: Brian Stern <email@hidden>
  • Date: Wed, 30 Jul 2008 15:42:35 -0400

Hi All,

If I have two projects that have sourcefiles in them with the same names and I set a breakpoint in one of these files in project A then when running Project B the debugger will stop on the same line.

Is this a bug or could it conceivably be a feature?

This is easy to reproduce:

Just create a project from stationery (like Cocoa doc-based app) and name it Project1
Do it again and name it Project2
Build both projects.
Open a source file in Project1 and set a breakpoint (in an init function in MyDocument for instance)
Run Project2
The breakpoint will be hit even though it was set in the other project.
No breakpoint marker is shown on the line where it stops.
Hitting continue continues normally.


Both projects have to be open to see this issue.

I see that this occurs in both Xcode 2.5 and Xcode 3.1.

I think I ran into this a lot in the past where breakpoints seemed to never go away even though I removed them. I only realized today that it's probably the files with the same name in two different projects that is the cause.

--
Brian Stern
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


  • Prev by Date: Re: XCode 3.1 frequently hangs
  • Next by Date: Insert argument placeholders for completions
  • Previous by thread: Re: Blue breakpoints
  • Next by thread: Insert argument placeholders for completions
  • Index(es):
    • Date
    • Thread