Re: Shortcut for "add breakpoint in project"
Re: Shortcut for "add breakpoint in project"
- Subject: Re: Shortcut for "add breakpoint in project"
- From: James Bucanek <email@hidden>
- Date: Thu, 17 Nov 2005 08:16:32 -0700
Daniel Jalkut wrote on Thursday, November 17, 2005:
>(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 don't have a multi-project project to test this out at the moment, but here's something to keep in mind. When you switch between windows with multiple projects open, Xcode will often change the "active" project based on your window selection and navigation. The active project is the one that commands like Build and Find In Project will apply to. This can be counter-intuative at times.
Breakpoints are stored on a per-project basis, so look in the Windows menu before setting your breakpoint to see if you haven't inadvertently switched projects. I don't guarantee that this is your problem, but it's a variable to consider.
--
James Bucanek
_______________________________________________
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