将分析和日志记录视角添加到 RedHat 上的 Eclipse
我正在尝试设置 Eclipse,以便可以使用 TPTP 分析器分析 Java 程序。我已经下载并解压了我认为需要的所有 .zip
文件,但 Eclipse 仍然不提供“分析和日志记录”视角。我还需要做什么才能获得这种观点?是否有我必须编辑的配置文件?
- 我使用的是 Red Hat RHEL5,因此使用 Eclipse 3.2.0、TPTP 4.2.0.2。
窗口 >开放视角>其他...
对话框未列出“分析和日志记录”透视图。帮助>关于Eclipse平台>插件详细信息
窗口列出了org.eclipse.tptp
命名空间中的众多包,包括org.eclipse.tptp.platform.lta
和>org.eclipse.tptp.trace
。哪个插件负责提供视角?窗口 >首选项...
对话框没有“分析和日志记录”条目。
I am trying to set up Eclipse so I can profile a Java program using the TPTP profiler. I have downloaded and unzipped all the .zip
files that I believe I need, but Eclipse still does not provide a "Profiling and Logging" perspective. What more must I do to get this perspective? Is there perhaps a configuration file I must edit?
- I'm using Red Hat RHEL5, and thus Eclipse 3.2.0, TPTP 4.2.0.2.
- The
Window > Open Perspective > Other...
dialog-box does not list the "Profiling and Logging" perspective. - The
Help > About Eclipse Platform > Plug-in Details
window lists numerous pacakges in theorg.eclipse.tptp
name-space, includingorg.eclipse.tptp.platform.lta
andorg.eclipse.tptp.trace
. Which plug-in is responsible for providing the perspective? - The
Window > Preferences...
dialog does not have an entry for "Profiling and Logging".
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
因此,我再次尝试使用
Help >软件更新>查找并安装...
让 Eclipse 自行下载并安装插件。这次取得了更大的成功,但仍然没有喜悦。值得注意的是,它尝试更新 Eclipse 核心的某些部分。该安装失败,因为/usr/shar/eclipse
文件(由 Red Hat 的 eclipse RPM 安装)归root
而不是我自己所有。因此,无论发行说明如何规定,TPTP 似乎都需要 Eclipse 3.2 的固定版本。我想这个故事的寓意是忘记尝试使用 Eclipse RPM,而是下载它并将其安装在您的主目录中。So, I tried again to use
Help > Software Updates > Find and Install...
to have Eclipse download and install the plug-ins itself. This time with more success, but still no joy. Significantly it tries to update some parts of the Eclipse core. That installation failed because the/usr/shar/eclipse
files (installed by the eclipse RPM from Red Hat) are owned byroot
rather than myself. It seems therefore that, despite what the release notes say, TPTP requires a fixed version of Eclipse 3.2. I guess the moral of this story is to forget about trying to use the Eclipse RPM, and instead down-load and install it in your home directory.关于安装,对于较新版本的 Eclipse,
TPTP
不起作用。您需要 JVM 监视器。帮助> Eclipse 市场 > JVM 监视器
窗口 >视角>开放视角>其他> Java Monitor
虽然这可能无关紧要,因为OP的问题显然是由权限问题引起的,但它可能对将来的谷歌搜索有所帮助。
Regarding the installation, with the newer versions of Eclipse,
TPTP
does not work. You need JVM Monitor.Help > Eclipse Marketplace > JVM Monitor
Window > Perspective > Open Perspective > Other > Java Monitor
While this may be irrelevant because the OP's issue was apparently caused by a permissions issue, it may be helpful to those googling in the future.