解决Windows下IntelliJ IDEA多次点击运行,会有概率卡死的问题

504 阅读1分钟

在idea中点击运行,5~20次基本就会卡住,卡住的时候控制台无任何输出,也无法停止运行,只能通过任务管理器强行停止idea。

Snipaste_2025-03-24_16-46-41.png

Snipaste_2025-03-24_16-46-30.png

解决办法:

第一步:在idea中按ctrl+shift+a,搜索Registry并打开。 image.png

第二步:按ctrl+f搜索profiler.widget.in.run.console,把钩子去掉。 image.png

解决方法来源:youtrack.jetbrains.com/issue/IDEA-…