java jdb

https://stackoverflow.com/questions/8155253/how-do-i-compile-in-debug-mode-netbeans-java-maven

  <plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-compiler-plugin</artifactId>
    <version>2.5.1</version>
    <configuration>
        <source>1.6</source>
        <target>1.6</target>
        <debug>true</debug>
        <debuglevel>lines,vars,source</debuglevel> 
    </configuration>
  </plugin>

JAVA_OPTS="$JAVA_OPTS -Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y"
$JAVA_HOME$/bin/jdb -attach 127.0.0.1:8787

https://zzyongx.github.io/blogs/jdb.html

https://blog.csdn.net/arkblue/article/details/39718947

https://www.jianshu.com/p/5a64ed722b91

https://www.infoq.cn/article/basic-java-debugging

https://alibaba.github.io/arthas/

https://www.jianshu.com/p/1b1c998c4448 

https://blog.csdn.net/chengzhezhijian/article/details/13627909


https://docs.oracle.com/javase/8/docs/technotes/guides/troubleshoot/tooldescr011.html
posted on 2019-07-12 15:10  阿笨猫  阅读(309)  评论(0编辑  收藏  举报