[darwinbuild-dev] Debugging libraries
William Siegrist
wsiegrist at apple.com
Wed Oct 21 07:49:06 PDT 2009
On Oct 21, 2009, at 3:36 AM, David Arve wrote:
> Hi,
>
> How do I build a version of a library, say libdispatch, that has all the symbols and debugging information and source code so I could step through it with gdb?
>
> I tried building libdispatch and dittoing it into /. It only has one target RELEASE but it's Build Variants specify normal, debug and profile. So I set the DYLD_IMAGE_SUFFIX to _debug. This seems to give me the function symbols, but not the source code.
>
You should probably ask on darwin-dev at lists.apple.com
-Bill
More information about the darwinbuild-dev
mailing list