On Dec 18, 2008, at 3:56 PM, Bridger Maxwell wrote:

Is it possible to configure Xcode
to launch the application, tell it to use that plugin (some sort of startup
parameter?), and then debug the plugin's code even though it is the
application running it?

It's possible.

Perhaps there is an article or
something on how to set up Xcode to launch a binary in a non- standard way?


It's not non-standard, and it's pretty easy. All you do is create a custom executable in the plugin project pointing it to the program that will launch the plugin, then load it in the debugger. I do this to test preference panes, IB plugins, etc. all the time.

Be warned, if your plugin is for QuickTime or iTunes, then you'll run into some problems with ptrace(). Search Google for details.

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



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to