Re: principalClass crashes
Re: principalClass crashes
- Subject: Re: principalClass crashes
- From: j o a r <email@hidden>
- Date: Wed, 2 Nov 2005 07:47:11 +0100
On 2 nov 2005, at 07.29, Morgan Winer wrote:
For a certain plugin class, whenever I call the line below, my
program crashes.
Class theclass = [pluginBundle principalClass];
From what I can tell from the debugger, with this line included,
any other object instantiation is what causes the SIGTRAP.
However, if I step through the code line-by-line until the plugins
are loaded, then the rest of the program will run fine.
Is this some sort of weird race condition? A namespace collision?
the plugin & app rely on a lot of the same classes.
* Is the principal class set correctly in the Info.plist for that
plugin bundle?
* Where do you load your plugins (It might for example be bad to do
it from some class' "+initialize" method)? If it's some sort of race,
perhaps you can delay / move it?
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden