Debugger only stops at breakpoints, will not “step over”

后端 未结 6 1476
灰色年华
灰色年华 2021-01-05 01:54

I\'m trying to debug code that I\'ve built from source. It is started with the wrapper from Tanuki.

I\'m debugging inside IntelliJ idea but I\'m not sure that is the

6条回答
  •  执念已碎
    2021-01-05 02:34

    How do you build the project? If you build it with Ant or some other tool, make sure that compilation is performed with debug info enabled (debug=true for Ant javac task). Obfuscation and bytecode instrumentation during the build can also affect the possibility to debug. If you run under some non-standard JVM, it may also cause such problem.

    When performing remote debug, ensure the target process is started with the correct JVM options suggested in the IntelliJ IDEA Remote debug configuration. Your wrapper configuration may pass them incorrectly.

提交回复
热议问题