• 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: debugging into a static library?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: debugging into a static library?


  • Subject: Re: debugging into a static library?
  • From: Sean McBride <email@hidden>
  • Date: Wed, 14 Sep 2011 13:02:12 -0400
  • Organization: Rogue Research Inc.

On Wed, 14 Sep 2011 08:45:49 -0700, Todd said:

>XCode 3.2.6, OS X 10.6.8, targeting 10.4u
>
>I have a C++ project and uses a static library where I have/wrote the source
>for. I am crashing when my code gets into the library. Can I "step in" to
>the functions in my library and debug step by step. it seems that I cannot
>because when I try nothing happens.
>
>Is there a way to debug the static library in my current position as I am
>going through debugging the app that uses it?

It works for me.

Did you build the lib yourself and is its source code at the same absolute path?  If not, gdb is pretty dumb about finding the code, but you can point in the right direction using 'set pathname-substitutions'.

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


 _______________________________________________
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: 
 >debugging into a static library? (From: Todd <email@hidden>)

  • Prev by Date: Re: XCode 3.2.6 to XCode 4.2
  • Next by Date: Re: How to join the "Developer Group" ?
  • Previous by thread: debugging into a static library?
  • Next by thread: warning: posix_spawn failed
  • Index(es):
    • Date
    • Thread