Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Intellij Debugger slow: Method breakpoints may dramatically slow down debugging

When I start intellij debugger, it comes the the hint you can see in the screenshot. the debugger takes a lot of time to start. How to solve this problem?enter image description here

like image 732
Ronald Avatar asked Jan 15 '15 14:01

Ronald


People also ask

How do you fix method breakpoints may dramatically slow down debugging?

Practical advice that I follow: 1. mute all the breakpoints while the app is coming up 2. enable breakpoints only while debugging that flow. Of course, it won't help if you are trying to debug something which happens during app startup.

Why is IntelliJ debugger so slow?

Remove breakpoints off your method and use them inside the method as that can cause your debug to take a very long time. Try running IntelliJ as admin. I had this issue at work where debugging was extremely slow and running as admin actually made it a lot faster.

Is running in debug mode slower?

debug code runs a lot slower than release - Visual Studio Feedback.

What does a breakpoint do in IntelliJ?

Breakpoints are special markers that suspend program execution at a specific point. This lets you examine the program state and behavior.


2 Answers

Turn off the method breakpoints. You can see all your breakpoints through Run | View Breakpoints (Ctrl - Shift -F8 )

like image 142
Robin Avatar answered Sep 22 '22 02:09

Robin


enter image description here

Turn off the method breakpoint from the debug panel. Here is a screenshot.

like image 42
Chetan Gaikwad Avatar answered Sep 23 '22 02:09

Chetan Gaikwad