IDEA Debug Method Breakpoint 方法断点影响启动速度

IDEA Debug About 499 words

方法断点

IDEA中实现的方法断点功能,并非是JPDA自带的功能(Java Platform Debugger Architecture)。

开启时,IDEA会提示方法断点会显著拖垮Debug

Method breakpoints may dramatically slow down debugging

解决方法

方法一

不使用方法断点,尽量使用行断点。

方法二

等项目启动完成后,再开启方法断点。

参考

https://intellij-support.jetbrains.com/hc/en-us/articles/206544799-Java-slow-performance-or-hangups-when-starting-debugger-and-stepping

https://www.smartik.net/2017/11/method-breakpoints-are-evil.html

视频讲解

https://www.bilibili.com/video/BV1bd4y1A7PY

https://www.ixigua.com/i7135812420828758541

Views: 1,099 · Posted: 2022-08-25

————        END        ————

Give me a Star, Thanks:)

https://github.com/fendoudebb/LiteNote

扫描下方二维码关注公众号和小程序↓↓↓

扫描下方二维码关注公众号和小程序↓↓↓


Today On History
Browsing Refresh