0

JProfiler 可以很好地集成到 IntelliJ IDEA 12.0.4 和 Eclipse 4.2.2 中,但它没有集成到 Scala IDE 3.0.0 中。

我全新安装了 Scala IDE 3.0.0(基于 Eclipse Indigo)和 JProfiler 7.2.2。并在“Window->Customize Perspective”下启用了“Profile”操作。

配置文件按钮全部被禁用,并且在 Preferences 对话框中没有 JProfiler 条目。

没有明显的错误消息,但 ~/.jprofiler7/config.xml 不包含 eclipse 3.7 的集成条目。包括成功的 IntelliJ 和 Eclipse 4.2.2 条目,相关部分如下所示:

<integrations>
  <netbeansConfig targetDir="" />
  <eclipseConfig targetDir="/Applications/eclipse-4.2.2" />
  <ideaConfig targetDir="/Users/richard/Library/Application Support/IntelliJIdea12" />
  <jdeveloperConfig targetDir="" />
</integrations>

是否支持 Scala IDE 3.0.0?

编辑

JProfiler 集成将这些文件安装在 Eclipse 应用程序文件夹下:

/Applications/eclipse/plugins/com.jprofiler.integrations.eclipse
/Applications/eclipse/plugins/com.jprofiler.integrations.eclipse/META-INF
/Applications/eclipse/plugins/com.jprofiler.integrations.eclipse/META-INF/MANIFEST.MF
/Applications/eclipse/plugins/com.jprofiler.integrations.eclipse/eclipse3-jprofiler.jar
/Applications/eclipse/plugins/com.jprofiler.integrations.eclipse/icons
/Applications/eclipse/plugins/com.jprofiler.integrations.eclipse/icons/bundle_obj.gif
/Applications/eclipse/plugins/com.jprofiler.integrations.eclipse/icons/eclipse_launcher.gif
/Applications/eclipse/plugins/com.jprofiler.integrations.eclipse/icons/java_app.gif
/Applications/eclipse/plugins/com.jprofiler.integrations.eclipse/icons/java_applet.gif
/Applications/eclipse/plugins/com.jprofiler.integrations.eclipse/icons/jprofiler.png
/Applications/eclipse/plugins/com.jprofiler.integrations.eclipse/icons/julaunch.gif
/Applications/eclipse/plugins/com.jprofiler.integrations.eclipse/icons/julaunchpgn.gif
/Applications/eclipse/plugins/com.jprofiler.integrations.eclipse/icons/swt_launcher.gif
/Applications/eclipse/plugins/com.jprofiler.integrations.eclipse/jprofiler.properties
/Applications/eclipse/plugins/com.jprofiler.integrations.eclipse/plugin.properties
/Applications/eclipse/plugins/com.jprofiler.integrations.eclipse/plugin.xml

我还注意到 Eclipse 3.7 的 JProfiler 安装中没有集成 zip 文件:

/Applications/jprofiler7/integrations/eclipse33-jprofiler.zip
/Applications/jprofiler7/integrations/eclipse34-jprofiler.zip
/Applications/jprofiler7/integrations/eclipse35-jprofiler.zip
/Applications/jprofiler7/integrations/eclipse36-jprofiler.zip
/Applications/jprofiler7/integrations/eclipse42-jprofiler.zip

编辑 2 这些日志文件都没有提到探查器:

$ locate log | grep eclipse | grep "\.log$"
/Applications/eclipse/Eclipse 4.2 Classic.app/Contents/Profile/configuration/1365105032164.log
/Applications/eclipse/Eclipse 4.2 Classic.app/Contents/Profile/configuration/1365105063165.log
/Applications/eclipse/Eclipse 4.2 Classic.app/Contents/Profile/configuration/1365185736428.log
/Applications/eclipse/configuration/org.eclipse.update/install.log
/Users/richard/.eclipse/610389151/configuration/1345715718730.log
/Users/richard/coursera/progfun/workspace/.metadata/.plugins/org.eclipse.ui.views.log
/Users/richard/workspaces/eclipse37/.metadata/.log
/Users/richard/workspaces/eclipse42/.metadata/.log

编辑 3 这是工作区的 .metadata.log 文件的内容”

!SESSION 2013-04-10 09:48:50.570 -----------------------------------------------
eclipse.buildId=3.0.0-vfinal-20130326-1146-Typesafe
java.version=1.6.0_43
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments:  -keyring /Users/richard/.eclipse_keyring -showlocation
Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -keyring /Users/richard/.eclipse_keyring -showlocation

!ENTRY org.eclipse.core.net 1 0 2013-04-10 09:49:10.083
!MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences
4

0 回答 0