Adding Profiling and Logging Perspectives to Eclipse on RedHat

I am trying to configure Eclipse so that I can profile a Java program using the TPTP profiler. I downloaded and unpacked all the .zip files that I think I need, but Eclipse still does not provide the Profiling and Logging perspective. What else should I do to get this perspective? Maybe a configuration file that I should change?

  • I am using Red Hat RHEL5 and thus Eclipse 3.2.0, TPTP 4.2.0.2.
  • The Window > Open Perspective > Other... dialog box does not display the Profiling and Logging perspectives.
  • The Help > About Eclipse Platform > Plug-in Details window lists numerous pacakges in the org.eclipse.tptp namespace, including org.eclipse.tptp.platform.lta and org.eclipse.tptp.trace . Which plugin is responsible for providing perspectives?
  • The Window > Preferences... dialog box does not contain an entry for Profiling and Logging.
+2
source share
2 answers

So, I tried again using Help > Software Updates > Find and Install... to download Eclipse and install the plugins themselves. This time with great success, but still no joy. Notably, he is trying to update some parts of the Eclipse kernel. This installation failed because the /usr/shar/eclipse files (installed by Eclipse RPC from Red Hat) belong to root , not to me. It seems that, despite what the release says, TPTP requires a fixed version of Eclipse 3.2. My guess is that the moral of this story is to forget about trying to use the Eclipse RPM and instead download and install it in your home directory.

+3
source

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

  • Installation : Help > Eclipse Marketplace > JVM Monitor
  • Activation : Window > Perspective > Open Perspective > Other > Java Monitor

Although this may not be appropriate, since the OP problem seems to be caused by the permission problem, it may be useful for those users who will work on Google in the future.

+2
source

Source: https://habr.com/ru/post/978578/


All Articles