• 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: Stephen Kay <email@hidden>
  • Date: Tue, 11 Sep 2012 20:46:19 -0400
  • Thread-topic: How do you place debug points in a library that is a separate project?

on 9/11/12 7:38 PM, Nick Zitzmann at email@hidden wrote:

> Are you sure the library was built with debugging symbols turned on and
> optimization turned off? You can't (reliably) debug an optimized binary.

Thanks - Yes.

> Have you tried setting symbolic breakpoints to the functions in the
> breakpoints window?

Yes. I just read the manual ;-) and figured out how to do this. It breaks on
a function in the library and I can debug from there.

Once I've done that, I can add new breakpoints by clicking in the gutter on
any source files in the library, and they are enabled, and work.

But if I quit the app, remove all breakpoints, and then start the debugger
again running the app, when I try to add breakpoints in library source
files, they turn orange. Must I always debug into a function in the library
first, in order to enable debugging in the library source files?

Thanks,
- Stephen

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Stephen Kay
Karma-Lab :: developers of KARMA
http://www.karma-lab.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

References: 
 >Re: How do you place debug points in a library that is a separate project? (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: How do you place debug points in a library that is a separate project?
  • Next by Date: Why do I keep getting "no rule to process file ... of type sourcecode.c for architecture"?
  • Previous by thread: Re: How do you place debug points in a library that is a separate project?
  • Next by thread: Why do I keep getting "no rule to process file ... of type sourcecode.c for architecture"?
  • Index(es):
    • Date
    • Thread