paip. java resin 远程 调试 java resin remote debug
作者Attilax 艾龙, EMAIL:1466519819@qq.com
来源:attilax的专栏
地址:http://blog.csdn.net/attilax
1.resin4 以debug方式启动..
E:
esin-4.0.22
esin.exe console --debug-port 8000
2.实际执行后的指令是俩个过程.
"E:Program FilesJavajdk1.6.0_10injava.exe" -Xrs -jar "E:
esin-4.0.22lib
esin.jar" -resin-home "E:
esin-4.0.22" -root-directory "E:
esin-4.0.22" console -debug-port 8000
"E:Program FilesJavajdk1.6.0_10injavaw" -Dresin.server= -Djava.util.logging.manager=com.caucho.log.LogManagerImpl -Djava.system.class.loader=com.caucho.loader.SystemClassLoader "-Djava.endorsed.dirs=E:Program FilesJavajdk1.6.0_10jrelibendorsed;E:
esin-4.0.22endorsed"
-Djavax.management.builder.initial=com.caucho.jmx.MBeanServerBuilderImpl -Djava.awt.headless=true -Dresin.home=/E:/resin-4.0.22 -Xss1m -Xmx256m -Xrs -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000 com.caucho.server.resin.Resin --root-directory
/E:/resin-4.0.22 -conf E:
esin-4.0.22conf
esin.xml -server "" -socketwait 9341 -resin-home /E:/resin-4.0.22 -root-directory /E:/resin-4.0.22 console -debug-port 8000
3.重点是这个 -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000
4.eclipse>cls>debug cfg> remote java app >>>ok
set breakpoint ..then exec jsp....can class breakpoint execu ...