[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] Re: Sleak plugin
|
I've encountered this problem too. When you create your Display, you
have to explicitly tell it to track SWT resources; otherwise it will
complain by throwing that exception. In the case of the workbench,
the Display is being created somewhere in the bowels of Eclipse's UI.
I had to check out the UI plugin's source from cvs (sync to your
version of eclipse), modify the code where the instance of the Display
is created to tell it to track resources.
I'm assuming there's an easier way to do this. Anyone?
Curt
Jose de la Fuente wrote:
> I want to use the Sleak plugin to detect the memory leaks of SWT objects
> in my standalone application. But when i install the plugin and i try to
> use it i obtain the next message "Warning: Device is not tracking resource
> allocation". I use 3.0 Stream Stable Build M1 version.
>
> Thanks in advance
>
> Jose