Swak SWT tool, device does not track resource allocation

I am having problems testing the RCP application using Sleak because it doesn’t display anything, it only displays the message “WARNING: the device does not monitor the allocation of resources”. I installed Sleak from this tutorial and I don't know what happened. Does anyone know a solution for this? Thanks in advance.

+3
swt testing
source share
2 answers

Do you have the correct version ? Can you see the shutdown view in your RCP application? If you are not sure about its launch configuration. Also double check what you installed

org.eclipse.ui / debug = true org.eclipse.ui / trace / graphics = true

on the trace tab. There are properties with similar names.

+4
source share

You can write

org.eclipse.ui.internal.misc.Policy.DEBUG_SWT_GRAPHICS = true; org.eclipse.ui.internal.misc.Policy.DEBUG_SWT_DEBUG = true; 

before

 Display display = PlatformUI.createDisplay(); 

This will create the Workbench.createDisplay () method a new data-tracking display.

+3
source share

All Articles