挂钩基于Eclipse的子进程

最后编辑了

概述

当Java应用程序启动基于Eclipse的子进程时,子进程的自动挂钩通常不起作用(由于Eclipse的设计)。

但是,对于一些其他设置步骤,仍然可以实现基于Eclipse的子进程的自动挂钩。

启用基于Eclipse的子进程的自动连接

步骤1 - Rename eclipse.exeeclipse_.exe.

第2步 - 创建一个副本 eclipse.ini 并将其重命名为 eclipse_.ini.

第3步 - Download and extract Starter-latest.zip. .

第四步 - From the extracted Starter-latest.zip. copy starter.exe into the folder of eclipse_.exe and rename starter.exeeclipse.exe.

第5步 - Copy starter.exe.bat_rcp_subprocess_same_jre into the folder of eclipse_.exe and rename starter.exe.bat_rcp_subprocess_same_jreeclipse.exe.bat.

(The above instructions assume that the binary that launches the sub-process is called eclipse.exe. Please adjust the instructions according to the actual file name. Likewise for eclipse.ini.)