[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] Re: SWTException discussion
|
Hello,
I wanted to use AspectJ in a way that I remember all instances of Control
subclass
and also a place where it was created.
Write this information into the Map, and ask for Throwable containing that
contains information about the source code location which caused
isDisposed() and so on.
BUT THE PROBLEM IS CLASSPATH, from GUI thread I don't have an access to my
map from UI thread context, but I can only access Control subclass there but
nothing more. :(
It's due to the PLUG-IN system dependencies and classpath visibility. :(
It's a problem for debugging such kind of things.
I would need to change some implementation of bundle loading system
(Equinox) or to have only 1 classloaded for all plugins.
Do you know any trick for solving it?
I also have similar problems with detection of causes of No MORE HANDLES
ERROR.
Thanks,
Jan
"Ed Merks" <merks@xxxxxxxxxx> wrote in message
news:fvpqt1$hd$2@xxxxxxxxxxxxxxxxxxxx
> Jan,
>
> You print out the full stack trace and look at where the exception was
> thrown. If you use -consolelog when you launch the application, any
> logged stack traces will be printed in the console and you'll be able to
> click on the stack frames to navigate to the source.
>
>
> Jan wrote:
>> Hello,
>>
>> how do you find a cause of SWTException?
>>
>> I'd like to discuss this topic.
>>
>> Thanks,
>> Jan
>>
>>