1. STAF Service 配置
在stat/bin/staf.cfg 中加入
其中OPTION "J2=-agentlib:jdwp=transport=dt_socket,suspend=n,server=y,address=7777" 指定了Debug的监听端口为7777
2. Eclipse中配置Debug

3. 设置断点,启动Debug

本文介绍了如何在STAFService中进行配置,并在Eclipse环境中设置远程调试,包括配置文件的详细说明及断点调试步骤。
1. STAF Service 配置
在stat/bin/staf.cfg 中加入
其中OPTION "J2=-agentlib:jdwp=transport=dt_socket,suspend=n,server=y,address=7777" 指定了Debug的监听端口为7777
2. Eclipse中配置Debug

3. 设置断点,启动Debug

1316

被折叠的 条评论
为什么被折叠?