[darwinbuild-dev] Debugging libraries

David Arve david.arve at gmail.com
Wed Oct 21 03:36:54 PDT 2009


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.



More information about the darwinbuild-dev mailing list