Re: XCode fails to debug Adobe CS2 apps
Re: XCode fails to debug Adobe CS2 apps
- Subject: Re: XCode fails to debug Adobe CS2 apps
- From: "Garvan Keeley" <email@hidden>
- Date: Tue, 15 Mar 2005 18:00:33 -0500
> Debugging Adobe Illustrator CS2 or Photoshop CS2 fails in XCode, but is ok
> using gdb on the command-line. Bizarre.
>
> When debugging through XCode, after the application splash screen is shown
I
> get an fatal error EXC_BAD_INSTRUCTION reported in the debugger window.
> Nothing is shown in the stack trace.
> When run on the command-line with gdb, there is no problems. This is using
> the exact same argument for the executable. Adobe doesn't use XCode, so I
> doubt they will have a suggestion. The reason we set the apps as the
target
> is that we develop plugins.
>
> I have reported this bug to Apple. Any suggestions?
>
To follow up, this has been solved. Kudos to Apple support.
In the menu' Debug>Variables View' disable 'Enable Data Formatters'. This
option causes an XCode library to be preloaded when the application is run,
which was causing CS2 to crash. Interestingly, trying to unset loading of
this library in the gdb command window (using 'unset env') had no effect,
although it is clear that XCode is setting DYLD_INSERT_LIBRARIES when
'Enable Data Formatters' is enabled.
There was a few suggestions about using LaunchCFM but CS2 is
ach-O -previous versions were CFM.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden