Debugging a static library
Debugging a static library
- Subject: Debugging a static library
- From: Todd <email@hidden>
- Date: Sun, 30 Oct 2011 12:39:17 -0700
Xcode 3.2.6, 10.6.8, C++ project, with a bit of Objective-C.
I have a project that uses a shared library (that I have all the code for and can build whenever). I am crashing someplace when I reach the shared library and I cannot figure out why. I have all the .h files that make up the shared library in my project and I link to the .a. I build and link without errors.
Here is what I have tried:
-
I have built the shared library with Debug symbols
-
I have placed a break-point in the shared library .cpp file where I should enter but Xcode does not stop at it.
-
I have tried placing
NSLog
statements in the shared library and building it again to see if they show up in the console and I dont see where they do before the crash.
How does one debug an app that crashes in a shared library. I seem to recall I could do this in Metrowerks years ago.
Advice is appreciated.
_______________________________________________
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