Which debugging bug do you prefer?
Which debugging bug do you prefer?
- Subject: Which debugging bug do you prefer?
- From: Bruce Bullis <email@hidden>
- Date: Tue, 14 Mar 2006 14:48:35 -0800
Hi.
I'm the API Engineering Manager for Adobe's video products. Among
other things, I manage the After Effects SDK. In creating XCode
sample projects, I've run into a debugging oddity.
The nice folks over at Unsanity have figured out how to trick XCode
into actually allowing debugging of plug-ins:
<http://www.unsanity.org/archives/000391.php>
Peachie. But, thanks to Adobe's software activation mechanism (which,
emphatically, wasn't my idea and the relative merits of which I have
no interest in discussing in public), one must Attach to a running
instance of AE in order to hit breakpoints in the plug-in. This works
fine in my Adobe-internal, activation-less development build of After
Effects.
However, if I (as would any of our third party developers) build an
AE plug-in and attempt to attach to a release (activation-protected)
version of AE, XCode feigns confusion and says it's unable to attach,
UNLESS I follow the Unsanity instructions above, and fabricate a
custom executable in the XCode project that actually points down
inside the AE package, to the bona fide executable.
Except that I'm NOT TRYING TO USE THE EXECUTABLE from the XCode
project; I'm trying to attach to a running process, which might NOT
be referenced in the custom executable. It's just dumb luck that the
custom executable refers to the executable to which I'm trying to
attach.
I'm not sure which is worse: the fact that XCode won't attach to a
running executable (which since it's executing seems to be, prima
facie, an executable), or the fact that XCode refers to project
settings for a custom executable when deciding whether or not it can
attach to some arbitrary running executable, even when NOT already
running in an Xcode debug session.
Thoughts?
-bbb
PS: For the love of Pete, please give me CodeWarrior-style syntax
coloring. Having the AE headers show up as a different color than
language keywords is very helpful, particularly to those new to the API.
_______________________________
Bruce Bullis
API Engineering Manager
Adobe Dynamic Media
_______________________________
_______________________________________________
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