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)]
4、重新开启debug模式即可。
5、如果开启的断点比较多,会影响debug模式的运行效率,点击上面的"–"减号,可删除标记的断点;

Logo

更多推荐