Re: How do you place debug points in a library that is a separate project?
Re: How do you place debug points in a library that is a separate project?
- Subject: Re: How do you place debug points in a library that is a separate project?
- From: Nick Zitzmann <email@hidden>
- Date: Tue, 11 Sep 2012 17:38:32 -0600
On Sep 11, 2012, at 4:51 PM, Stephen Kay <email@hidden> wrote:
> (related to another recent question...)
>
> I have a static library that is one project (separate).
>
> I have an app that includes the static library (separate project).
>
> (I'm using Xcode 2.5 to port an old CodeWarrior app.)
>
> From the app, when it's running, I can debug into library functions from
> inside functions that are in the app (and call library functions) - i.e. By
> using "Step Into" - but I cannot set debug points in the library directly.
> They turn orange and never hit - unless I manage to Step Into the library
> somehow.
>
> Am I going about this wrong?
Are you sure the library was built with debugging symbols turned on and optimization turned off? You can't (reliably) debug an optimized binary.
Have you tried setting symbolic breakpoints to the functions in the breakpoints window?
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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