在 Eclipse 安装中为插件启用跟踪



我想为日食安装启用对org.eclipse.wst.server.core插件的跟踪。我已经读到我需要在 eclipse 安装文件夹中有一个 .options 文件。.options 文件的内容:

org.eclipse.wst.server.core/debug=true
org.eclipse.wst.server.core/extension_point=true

我还在 eclipse.ini 中指定了 -debug 选项。以下是sts/eclipse.ini内容:

-startup
../../../plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.library
../../../plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.200.v20140603-1326
-product
org.springsource.sts.ide
--launcher.defaultAction
openFile
-debug
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx768m
-XX:MaxPermSize=256m
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts
-Xdock:icon=../Resources/sts.icns

该文件位于 eclipse 文件夹下(与 eclipse.ini 所在的位置相同)这行不通。我在日志中看不到跟踪语句。有人知道这个设置有什么问题吗?

您必须使用 -debug 选项启动 Eclipse 才能打开此功能。

您还可以指定-debug filename以指定选项文件的不同路径

最新更新