• 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
Re: debug of external target
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: debug of external target


  • Subject: Re: debug of external target
  • From: email@hidden
  • Date: Sun, 15 Jan 2006 21:00:44 +0100

I have done it. I added the dir
/Users/alf/book/tm_source where the files are located but still the same problem???!!!!!??


On 15/gen/06, at 18:08, Chris Espinosa wrote:


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






___________________________________
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB
http://mail.yahoo.it
_______________________________________________
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


References: 
 >debug of external target (From: email@hidden)
 >Re: debug of external target (From: Chris Espinosa <email@hidden>)

  • Prev by Date: Re: Applescripting XCode Project setup
  • Next by Date: Forcing XCode to add include folders for added headers
  • Previous by thread: Re: debug of external target
  • Next by thread: cleaning project produces hundreds of warnings
  • Index(es):
    • Date
    • Thread