[英]Netbeans debugger stops at Class.java.getDeclaredConstructors
I'm trying to debug web application in netbeans 7.2.1 with glassfish server 3.1. 我正在尝试使用glassfish服务器3.1在netbeans 7.2.1中调试Web应用程序。 Debugging worked fine previously. 调试以前工作正常。
But Netbeans debugger suddenly started to print this message: 但Netbeans调试器突然开始打印此消息:
Thread admin-thread-pool-4848(2) stopped at Class.java.getDeclaredConstructors0.
Debugger stops at that line as if there was a breakpoint there and also at this line: 调试器在该行停止,就像那里有一个断点一样,也在这一行:
res = Reflection.filterFields(this, getDeclaredFields0(publicOnly));
in method private Field[] privateGetDeclaredFields(boolean publicOnly)
If I press a button to continue it stops again at same point for several times and deploying continues for a long time until it fails with message 如果我按一个按钮继续,它会在同一点再次停止几次,并且部署会持续很长时间,直到它失败并显示消息
Deployment error: Deployment timeout has exceeded.
I know it's not much information, but maybe someone has a hint what it could be related to? 我知道这不是太多的信息,但也许有人暗示它可能与什么有关?
I had the exact same problem using Netbeans8, Glasshfish 4.0 and JavaEE JAX-RS. 我使用Netbeans8,Glasshfish 4.0和JavaEE JAX-RS时遇到了完全相同的问题。 The problem was a breakpoint placed inside a lib that was part of a previous project I was working on. 问题是在lib中放置了一个断点,它是我正在处理的上一个项目的一部分。
Solved it by clearing/deleting all breakpoints. 通过清除/删除所有断点解决了这个问题。 To do so, on the Netbeans top bar: window -> debugging -> breakpoints -> and then disable them or right click and delete all of them. 为此,在Netbeans顶部栏:窗口 - >调试 - >断点 - >然后禁用它们或右键单击并删除所有这些。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.