Sleak plugin [message #482605] |
Thu, 27 August 2009 09:29 |
Eclipse User |
|
|
|
Originally posted by: hanish.kukreja.gmail.com
Hi All,
I am trying to use Sleak plugin for analysing SWT resource leak. I
followed the steps mentioned here : http://www.eclipse.org/swt/tools.php.
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/
folder.
# Add the following lines to the .options file:
org.eclipse.ui/debug=true
org.eclipse.ui/trace/graphics=true
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.
http://dev.eclipse.org/newslists/news.eclipse.platform.swt/m sg43284.html
but solution was not mentioned there
Any one Can help me??
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02897 seconds