cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Debugging Curl in xcode 4.5

From: Nick Zitzmann <nick_at_chronosnet.com>
Date: Mon, 1 Oct 2012 12:57:23 -0600

On Oct 1, 2012, at 2:45 AM, Michael Stowell <napalm_binary_at_yahoo.com> wrote:

> I cannot seem to debug curl in my program, looks like xcode doesnt know how to find the symbols, but at the same time I dont know how to point it to them, I have tried building from source and adding the libs, adding Curl as a makefile project, but still no luck. any idea how I can achieve this? thanks

Did you build your own libcurl, or are you using the system's libcurl or one from MacPorts? Are you sure the app isn't being linked against the system's libcurl? The only way to know for sure is to run the "otool" command against the binary with the -L option. If the path "/usr/lib/libcurl.*.dylib" shows up, then you're doing it wrong.

If you are using your own libcurl, did you pass the --enable-debug option to the configure script?

Nick Zitzmann
<http://www.chronosnet.com/>

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-10-01