idea用debug调试出现com.intellij.rt.debugger.agent.CaptureAgent,导致无法进行调试
·
1、启用idea的debug调试模式,
出现com.intellij.rt.debugger.agent.CaptureAgent异常,导致无法进行调试。
} catch (java.security.PrivilegedActionException pae) {
throw (ClassNotFoundException) pae.getException();
}
if (result == null) {
throw new ClassNotFoundException(name);
}
return result;
}

2、主要是点击了debug按钮,导致出现任何异常都要停顿;
3、解决办法:anyException选项去掉。
![[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-DIxEghkZ-1656655228626)(htps://img-blog.csdnimg.cn/fd2aefb7ff154f4fac30cf5a628e1412.png)]](https://i-blog.csdnimg.cn/blog_migrate/69e6aea1534b662209af4ecb6641c18a.png)
4、重新开启debug模式即可。
5、如果开启的断点比较多,会影响debug模式的运行效率,点击上面的"–"减号,可删除标记的断点;
更多推荐

所有评论(0)