Sleak SWT tool, Device is not tracking resource allocation

邮差的信 提交于 2019-12-06 05:07:38

Do you have the correct version? Can you see the sleak view in your RCP-application? If not make sure it's in your launch configuration. Also double check that you have set the

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

correct in the tracing tab. There are properties with similar names.

Roman

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 in Workbench.createDisplay() method new Display with data tracking.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!