• 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
XCode debug env & Attach process...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

XCode debug env & Attach process...


  • Subject: XCode debug env & Attach process...
  • From: Christian Martin <email@hidden>
  • Date: Sat, 22 May 2010 18:15:46 -0400
  • Importance: Normal

Hi,

I am currently debugging an application (UNIX-like) that works in synchrony with another app (Carbon one).

Essentially, when the Carbon application starts, it starts soon after the UNIX-like application (using LSOpenFSRef).

My problem is that I wish to be able to add breakpoints and control the flow (and look at variables status) in the UNIX-like application, they do not seem to work.

To make things worse; most compilation of the UNIX-like application is done thru a large set of make files. It is somewhat tedious to rebuild the whole environment in XCode; so to cut it short, I added -g3 flag in the compilation command in the make file. Then I created an XCode environment with only of the files of the UNIX-like program (...actually my main.cpp); Added all the .o file to the project and libraries. I am able to create a executable (if we may say) that runs fine.

So my logical understanding of the debug environment was that I could start the Carbon application and witness the UNIX-like to be started. Then use XCode to attach the process (UNIX-like app) to do some debug. I am able to attach the process.

My problem is that when I set breakpoints, they do not seem to be recognized. I get a message saying : No location found for SomeFile123.cpp.

Am I missing something ?

 


30 days of prizes to be won with Hotmail. Enter here
 _______________________________________________
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

  • Prev by Date: Re: Xcode automatically deletes the file XCodeMakesMeSick.pbxindex
  • Next by Date: Re: XCode debug env & Attach process...
  • Previous by thread: Re: Xcode automatically deletes the file XCodeMakesMeSick.pbxindex
  • Next by thread: Re: XCode debug env & Attach process...
  • Index(es):
    • Date
    • Thread