Re: principalClass crashes
Re: principalClass crashes
- Subject: Re: principalClass crashes
- From: Chuck Soper <email@hidden>
- Date: Wed, 2 Nov 2005 10:16:16 -0800
Morgan,
What is the value of pluginBundle? How are you setting it? Please post.
I suggest:
NSBundle *pluginBundle = [NSBundle bundleForClass:[self class]];
Of course, the location of this line is important. What kind of
plug-in are you writing?
Chuck
At 1:29 AM -0500 11/2/05, 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.
Any help would be appreciated,
- Morgan
_______________________________________________
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