• 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
Re: How do you place debug points in a library that is a separate project?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: How do you place debug points in a library that is a separate project?
      • From: Stephen Kay <email@hidden>
References: 
 >How do you place debug points in a library that is a separate project? (From: Stephen Kay <email@hidden>)

  • Prev by Date: How do you place debug points in a library that is a separate project?
  • Next by Date: Re: How do you place debug points in a library that is a separate project?
  • Previous by thread: How do you place debug points in a library that is a separate project?
  • Next by thread: Re: How do you place debug points in a library that is a separate project?
  • Index(es):
    • Date
    • Thread