paip. java resin 远程 调试 java resin remote debug

本文档详细介绍了如何使用Resin4进行远程调试的过程。包括启动Resin4时的调试参数配置,以及如何在Eclipse中设置远程调试配置。通过这些步骤,可以有效地对Java Web应用程序进行调试。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

paip. java resin 远程 调试 java resin remote debug

作者Attilax  艾龙,  EMAIL:1466519819@qq.com
来源:attilax的专栏
地址:http://blog.youkuaiyun.com/attilax

1.resin4 以debug方式启动..
 E:\resin-4.0.22\resin.exe console --debug-port 8000
 
 2.实际执行后的指令是俩个过程.
 
 "E:\Program Files\Java\jdk1.6.0_10\bin\java.exe" -Xrs -jar "E:\resin-4.0.22\lib\resin.jar" -resin-home "E:\resin-4.0.22"  -root-directory "E:\resin-4.0.22"  console -debug-port 8000
 
 
 "E:\Program Files\Java\jdk1.6.0_10\bin\javaw" -Dresin.server= -Djava.util.logging.manager=com.caucho.log.LogManagerImpl -Djava.system.class.loader=com.caucho.loader.SystemClassLoader "-Djava.endorsed.dirs=E:\Program Files\Java\jdk1.6.0_10\jre\lib\endorsed;E:\resin-4.0.22\endorsed" -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:\resin-4.0.22\conf\resin.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 ...
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值