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
|