Mar*_*arc 2 java debugging jdb maven-3
我试图调试行家有:jdb -attach 8000使用后mvnDebug.
我尝试放置断点,但得到:
main[1] stop in DeployMojo.DeployMojo
Deferring breakpoint DeployMojo.DeployMojo.
It will be set after the class is loaded.
main[1] stop at Dependency:66
Deferring breakpoint Dependency:66.
It will be set after the class is loaded.
Run Code Online (Sandbox Code Playgroud)
当我运行时,不会调用断点.我有源(使用maven命令生成),但是如何让它们可用于调试器?
是否有一个类加载器,我可以放置一个断点?
这可能是因为您的类名错误或因为您省略了包.如果类Dependency在包中com.my.package,那么在类中断com.my.package.Dependency而不在Dependency.
| 归档时间: |
|
| 查看次数: |
3456 次 |
| 最近记录: |