• 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
Shortcut for "add breakpoint in project"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Shortcut for "add breakpoint in project"


  • Subject: Shortcut for "add breakpoint in project"
  • From: Daniel Jalkut <email@hidden>
  • Date: Thu, 17 Nov 2005 02:31:41 -0500

(Xcode 2.2)

I'm impressed by Xcode's ability to often "just work" when I set a breakpoint in a dependent project's source file. For instance, if I have a project Tree.xcodeproj that depends on an Apple.dylib built by Apple.xcodeproj, I can open Apple.xcodeproj, and set a breakpoint on "MakeApple()", go back to Tree.xcodeproj, debug, and hit the breakpoint!

Sometimes!

It's unpredictable. I don't quite understand it. In fact, it's so unpredictable that sometimes my shenanigans lead to "phantom breakpoints" that are listed in some Breakpoints list but don't show up graphically in any editor window.

I have found that if I want to "stay sane" I have to manually add symbolic breakpoints in "Tree.xcodeproj" instead of adding them graphically in editors owned by Apple.xcodeproj and hoping for the best.

Is there any great advice for how I might be able to easily get breakpoints set in Apple.xcodeproj to be inherited by Tree.xcodeproj? Another trick I use sometimes is to make sure that the source file in question from Apple.xcodeproj gets opened inside the context of Tree.xcodeproj. Then if I graphically set a breakpoint it seems to get associated more reliably with debugging that project.

Would it make sense to enhance Xcode such that Cmd-Clicks to editor margins in other projects would set breakpoints at the click point in the front-most project?

Daniel

_______________________________________________
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: Shortcut for "add breakpoint in project"
      • From: James Bucanek <email@hidden>
  • Prev by Date: Re: adding file reference via applescript
  • Next by Date: Drag and drop
  • Previous by thread: Re: Copying from folder to bundle
  • Next by thread: Re: Shortcut for "add breakpoint in project"
  • Index(es):
    • Date
    • Thread