Re: debug of external target
Re: debug of external target
- Subject: Re: debug of external target
- From: Chris Espinosa <email@hidden>
- Date: Sun, 15 Jan 2006 09:08:57 -0800
On Jan 14, 2006, at 10:15 AM, email@hidden wrote:
I've imported an external target in Xcode by using an already defined
makefile and that worked fine. Since the target was made of different
executables i imported them in Xcode as custom executables. I'm able
to launch the executables
but when trying to debug i obtain the following when trying to debu
the program tm_histadj. Of course the makefile has the -g option.
tty /dev/ttyp2
Program loaded.
No source file named tonemap.c.
No source file named tm_histadj.c.
No source file named tm_histadj.c.
run
[Switching to process 714 local thread 0xf03]
Running…
If you have a makefile target, Xcode only knows where your makefile is;
it has no idea where your sources are. So you need to tell Xcode's
debugger where to find your sources by setting the "Additional
Directories To Find Source Files In" field in the executable inspector:
http://developer.apple.com/documentation/DeveloperTools/Conceptual/
XcodeUserGuide/Contents/Resources/en.lproj/06_02_db_set_up_debug/
chapter_39_section_9.html
Chris
_______________________________________________
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