将 jprofiler 集成到 Eclipse 中
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/7965503/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Integrating jprofiler into eclipse
提问by Peter Villadsen
I can't integrate jprofiler 7 into Eclipse Indigo. Installation and integration completed successfully. But I can't find jprofiler in the Eclipse IDE or in Eclipse preference.
我无法将 jprofiler 7 集成到 Eclipse Indigo 中。安装和集成成功完成。但是我在 Eclipse IDE 或 Eclipse 首选项中找不到 jprofiler。
No problems in starting jprofiler, but it's just missing in my Eclipse installation.
启动 jprofiler 没有问题,但它只是在我的 Eclipse 安装中丢失了。
Thanks :-)
谢谢 :-)
回答by Ingo Kegel
The "Profile" actions in eclipse are part of the eclipse infrastructure, they are not supplied by JProfiler.
eclipse 中的“配置文件”操作是 eclipse 基础结构的一部分,它们不是由 JProfiler 提供的。
I assume that the menu item Run->Profile ... does not exist in the Java perspective after you have run the integration in JProfiler (Session->IDE integrations).
我假设在 JProfiler 中运行集成(会话->IDE 集成)后,菜单项 Run->Profile ... 在 Java 透视图中不存在。
In that case, you have to enable the "Profile" actions for this perspective under Window->Customize perspective by bringing the Command tab to front and selecting the "Profile" checkbox.
在这种情况下,您必须通过将命令选项卡放在前面并选择“配置文件”复选框,在“窗口”->“自定义透视图”下启用此透视图的“配置文件”操作。
回答by leroneb
Refer to this installation and configuration guide for JProfiler: http://www.eclipse.org/tptp/home/documents/tutorials/profilingtool/profilingexample_32.html#1_0
请参阅 JProfiler 的安装和配置指南:http: //www.eclipse.org/tptp/home/documents/tutorials/profilingtool/profilingexample_32.html#1_0
The main idea is...after intergrating with JProfiler,
主要思想是......与JProfiler集成后,
Select Window -> Customize Perspective -> choose the Command Groups Availability tab -> select the Profile checkbox and click ok.
Switch to the Profiling and Logging perspective by selecting Window > Open perspective > Other > Profiling and Logging. Click on the launch profiling button Launch profiling configuration icon and select Profile. In the Profile configuration dialog, double-click on Java Application. A new configuration is created and the details are shown in the right pane.
选择窗口 -> 自定义透视图 -> 选择命令组可用性选项卡 -> 选择配置文件复选框并单击确定。
通过选择窗口 > 打开透视图 > 其他 > 分析和记录来切换到分析和记录透视图。单击启动分析按钮启动分析配置图标并选择配置文件。在 Profile 配置对话框中,双击 Java Application。将创建一个新配置,详细信息显示在右侧窗格中。