`

How to remote debug with Eclipse

    博客分类:
  • Java
阅读更多

1. 配置Tomcat支持remote debugging

给JVM加上如下的启动参数:

-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n

2. Eclipse 里新建一个Remote Java Applications的debug

“Run->Debug …”, then “Remote Java Applications”, “New”,port添8000。

分享到:
评论

相关推荐

    [Advance] How to debug a program

    在 "[Advance] How to debug a program (上)" 和 "(下)" 的示例中,我们可以看到如何通过调试工具逐步定位并解决问题的过程。图片可能展示了断点设置、变量值的观察以及问题解决的步骤。 总的来说,高效的调试技能...

    Gradle for Android

    Furthermore, you will learn how to add local and remote dependencies to your project. You will work with build variants, such as debug and release, paid and free, and even combinations of these ...

    Gradle.for.Android.1783986824

    Furthermore, you will learn how to add local and remote dependencies to your project. You will work with build variants, such as debug and release, paid and free, and even combinations of these ...

    apktool documentation

    If you were to simply unzip an apk like so, you would be left with files such as classes.dex and resources.arsc. $ unzip testapp.apk Archive: testapp.apk inflating: AndroidManifest.xml inflating: ...

Global site tag (gtag.js) - Google Analytics