Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can't debug "external application"



Howdy all,

I'm new to using Xcode (2.2), and am trying to use it to debug a module for Apache HTTPd. I've set up the project with the "external build system" template, then added source files and added a "custom executable". As a test to make sure it was working, I set a breakpoint near the beginning of main(), then ran the target. Everything launched and it did what I expected, but it never stopped at the breakpoint.

My setup of httpd was with the 2.0.55 source tarball, configured with './configure --enable-maintainer-mode'. This turns on symbolics, as evidenced by the '-g' flags in the build. I tested that the breakpoint could be set in gdb, everything works fine.

I'm completely at a loss why Xcode can't handle the breakpoint. Is there some incompatibility between the debug symbolics that are generated by the command-line build and what the Xcode debugger is expecting to read?

Thanks for any information on this.

Brian Topping
email@hidden

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.