Re: Debugging question
Re: Debugging question
- Subject: Re: Debugging question
- From: Rua Haszard Morris <email@hidden>
- Date: Thu, 14 Jun 2007 11:28:01 +1200
That's referred to as "adding a dependency" in Xcode docs, and is the
right thing to do. As far as I know, if you add the dependency you
don't need to add additional source paths (I've never had to add
extra source paths).
On 14/06/2007, at 11:21 AM, Todd Heberlein wrote:
On Jun 13, 2007, at 11:49 AM, Nathan Toone wrote:
When I am building and debugging in project B, I have set up the
additional source paths under the executable inspector...however,
I am unable to set breakpoints in project A anywhere and have them
hit when I am debugging my executable from project B.
Is there some kind of setting that I need to make in addition to
adding the source directories to the "Debugging" tab of the
executable inspector?
I did the following to get it to work for me:
(1) Drag Project A's .xcodeproj file into Project B's "Groups and
Files" column.
(2) In Project B, double click on the target to bring up the
"Target Info" window.
(3) In the Target Info window, click the "General" tab.
(4) Click the '+' in the lower left window and then select Project
A's library in the window that pops up.
I am *not* an expert in Xcode, but it seems that you need to
explicitly tell Project B about Project A -- not just the work
product of Project A (i.e., the built library).
Hope this helps.
Todd
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40adinstruments.com
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