Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Sleak plugin
Sleak plugin [message #482605] Thu, 27 August 2009 09:29 Go to next message
Eclipse UserFriend
Originally posted by:

Hi All,

I am trying to use Sleak plugin for analysing SWT resource leak. I
followed the steps mentioned here :

Sleak window appears but when I am running my application as eclipse
workbench and I try to use sleak clicking on snap it always gives me the
error :

Warning : Device is not tracking resource allocation

These are the steps mentioned to use sleak in the above article.

# Extract the .options file from the
eclipse/plugins/org.eclipse.ui_<version>.jar archive to the eclipse/
# Add the following lines to the .options file:

I set both these optoions in .options file and kept the .options file in
eclipse/ folder as mentioned. But when I debug where the display is
created for Display.getDeviceData().debug and
Display.getDeviceData().trace. Both of them are false thought I set them
as true in .options file.

I might be doing somethin worng. May be not puting .options file at
appropriate location.

I also read on news group. This is one of the thread which was discussing
same issue. sg43284.html
but solution was not mentioned there

Any one Can help me??
Re: Sleak plugin [message #482636 is a reply to message #482605] Thu, 27 August 2009 11:44 Go to previous messageGo to next message
Madhu Samuel is currently offline Madhu SamuelFriend
Messages: 199
Registered: July 2009
Senior Member
Hello Hanish,

You can read the article at with-sleak/

To enable the tracing option, go to the launch configuration.

Go to the tracing tab.

Check (enable) the plugin 'org.eclipse.ui'. On the right pane check
(enable) 'debug' and 'trace/graphics'.

Re: Sleak plugin [message #482657 is a reply to message #482605] Thu, 27 August 2009 13:15 Go to previous messageGo to next message
Remo Loetscher is currently offline Remo LoetscherFriend
Messages: 18
Registered: July 2009
Junior Member
Hi Hanish,

do you start your application with the -debug command line argument?

Re: Sleak plugin [message #1043384 is a reply to message #482657] Wed, 17 April 2013 16:27 Go to previous message
Robin Stocker is currently offline Robin StockerFriend
Messages: 6
Registered: July 2009
Junior Member
A note for others finding this topic: The -debug option can be specified in eclipse.ini (add it on a line before -vmargs).
Previous Topic:Filling Tree with hundreds of items without freezing
Next Topic:looking for solution
Goto Forum:

Current Time: Wed May 23 11:22:37 GMT 2018

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

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

Back to the top