[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: Sleak plugin

Curtis d'Entremont wrote:
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
Yes, there is a SWT Version of sleak, that runs as plugin within eclipse.
You find it on
http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/platform-swt-home/dev.html

Ralf