Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » sleak
sleak [message #87286] Wed, 02 July 2003 09:11 Go to next message
Eclipse UserFriend
Hi,

Can someone tell me how to use SLEAK to test for resource leaks? The web
site only says that

org.eclipse.ui/trace/graphics=true

has to be added to Eclipse's .options file. Problem is, that I have
around 18 of them throughout my Eclipse install. Do I have to add this
to each one?

And do I then have to run the SLEAK.java class? Or will some kind of
output automagically be created?

Thanks,
Andy
Re: sleak [message #87572 is a reply to message #87286] Wed, 02 July 2003 12:27 Go to previous message
Eclipse UserFriend
Originally posted by: John_Arthorne.oti.com_

Eclipse only uses the .options file that is located in the eclipse
install directory (it should be a sibling of the "plugins" directory).
The .options files included with various plugins are just examples.
Just create a new .options file in the eclipse install directory with
the line you mentioned. Then, restart Eclipse in debug mode:

eclipse -debug -data ...
--


Andy Yang wrote:
> Hi,
>
> Can someone tell me how to use SLEAK to test for resource leaks? The web
> site only says that
>
> org.eclipse.ui/trace/graphics=true
>
> has to be added to Eclipse's .options file. Problem is, that I have
> around 18 of them throughout my Eclipse install. Do I have to add this
> to each one?
>
> And do I then have to run the SLEAK.java class? Or will some kind of
> output automagically be created?
>
> Thanks,
> Andy
>
Previous Topic:maybe a (very) minor bug?
Next Topic:ILightweightLabelDecorator problem
Goto Forum:
  


Current Time: Tue Jul 01 11:58:09 EDT 2025

Powered by FUDForum. Page generated in 0.03888 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top