Re: debugging into a static library?
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