Re: Can I debug MachO plugin in CFM app?
Re: Can I debug MachO plugin in CFM app?
- Subject: Re: Can I debug MachO plugin in CFM app?
- From: Chris Espinosa <email@hidden>
- Date: Tue, 24 Feb 2004 10:50:38 -0800
On Feb 24, 2004, at 10:14 AM, jason rusoff wrote:
Is there a way to use xcode to debug a MachO plugin running under a
CFM app? Can I attach GDB to the process once the plugin is loaded,
and then set breakpoints in the source in xcode?
You don't even need to do that; just use the Xcode Executables Editor
to configure your launch settings.
- From the Project menu, choose New Custom Executable...
- Use
/System/Library/Frameworks/Carbon.framework/Versions/A/Support/
LaunchCFMApp as the executable
- In the Executable Editor, configure the "Launch Arguments" to be the
path to the CFM executable (not the .app package, the
.app/Contents/MacOS/MyApp executable itself)
- Remember to check the radio button next to your new executable to
make it the default
Now when you run or debug, the CFM app will be launched. If it loads
your Mach-O plugin, your breakpoints should be hit.
Chris
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.