Adding Profiling and Logging perspective to Eclipse on RedHat

╄→尐↘猪︶ㄣ 提交于 2019-12-08 01:55:04

问题


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 the org.eclipse.tptp name-space, including org.eclipse.tptp.platform.lta and org.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".

回答1:


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 by root 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.




回答2:


Regarding the installation, with the newer versions of Eclipse, TPTP does not work. You need JVM Monitor.

  1. Installation: Help > Eclipse Marketplace > JVM Monitor
  2. Activation: 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.



来源:https://stackoverflow.com/questions/8229598/adding-profiling-and-logging-perspective-to-eclipse-on-redhat

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