• 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
Debugging a static library
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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:

  1. I have built the shared library with Debug symbols
  2. I have placed a break-point in the shared library .cpp file where I should enter but Xcode does not stop at it.
  3. 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

  • Follow-Ups:
    • Re: Debugging a static library
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: (no subject)
  • Next by Date: Re: Build Products Name
  • Previous by thread: xed: setting default editor window size...
  • Next by thread: Re: Debugging a static library
  • Index(es):
    • Date
    • Thread