JDB 使用教程
使用
在项目文件目录分别打开两个命令行窗口,参数如下。
java -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:8005,server=y,suspend=y TicketServiceClient2
jdb -connect com.sun.jdi.SocketAttach:hostname=127.0.0.1,port=8005
java -agentlib:jdwp=help
在项目文件目录分别打开两个命令行窗口,参数如下。
java -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:8005,server=y,suspend=y TicketServiceClient2
jdb -connect com.sun.jdi.SocketAttach:hostname=127.0.0.1,port=8005
java -agentlib:jdwp=help
Comments:
Email questions, comments, and corrections to hi@smartisan.dev.
Submissions may appear publicly on this website, unless requested otherwise in your email.