jdwp cheatsheet

Java5+:

引用
-agentlib:jdwp=transport=dt_socket,address=localhost:9009,server=y,suspend=y

Java1.4-

引用
-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=9009

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.