java - 在 RCP : Device is not tracking resource allocation 中泄露

标签 java eclipse rcp sleak

我已尝试让 Sleak 在我的 Indigo RCP 应用程序上运行。我已按照 this guide 上的步骤操作. IE。我已经安装了插件,将 swt 工具插件添加到当前插件,添加了所需的插件,修改了跟踪选项,并使用 folder.addView("org.eclipse.swt.tools.views .SleakView");

View 确实显示了,但当我尝试使用它时,我不断收到错误“设备未跟踪资源分配”。

我已经在 stackoverflow 中尝试过有关此事的旧问题的答案,但没有成功

Sleak (SWT & RCP) : Device is not tracking resource allocation (eclipse 4.3)

Sleak SWT tool, Device is not tracking resource allocation

我已明确检查调试配置中加载的 .options 文件确实具有所需的两个跟踪选项。

还有其他想法吗?

最佳答案

我认为您没有正确设置这些属性:

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

enter image description here

关于java - 在 RCP : Device is not tracking resource allocation 中泄露,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33810556/

相关文章:

java - 如何使用 Spring Batch 并行步骤分割流配置上述用例?

java - eclipse : java. lang.ClassCastException 中的问题

javascript - @JavaScript 不是注解类型

Eclipse RCP - 单击按钮打开透视图

java - 在服务器tomcat上运行servlet时eclipse出现404错误

java - 当线程移出对象的监视器时意味着什么?

java - 为什么此代码有效?先赋值再声明?

android - Android Eclipse 项目中的 Qt C++ 库 : QSQLITE driver not loaded

eclipse - Eclipse RCP 应用程序的测试框架

java - 如何通过Eclipse RCP连接Mysql