I'm using IntelliJ IDE (2021.2.3 community) in a java project and I am not able to utilize the debug because whenever I run and it hits a breakpoint it slows my mouse and keyboard, mainly the mouse and it becomes impossible to do anything other than struggle to end the process. That's very weird, I looked into the process manager during the issue and my system looked ok on cpu and memory
Related
Sometimes debugging our purely local desktop application in IDEA 2021.2.4 with Java 11 becomes incredible slow, especially Step Over (F8) or (to a less extend) Step Into (F7). But sometimes even pressing Resume (F9) after having hit some breakpoints is extremely slow while the CPU fan runs at full power (what takes 1s to start normally takes multiple minutes). Stopping usually halts in JDK code, e.g. class loading. I've already verified the breakpoints, but there are just a handful of normal Java Line breakpoints without any conditions. Especially when pressing Resuming other things mentioned in the IDEA FAQ like toString evaluation or Java Type Renderers should not matter, isn't it? Even pausing, disabling all breakpoints, resuming makes no difference.
Any idea how to determine what causes the CPU to heat?
I have this problem with eclipse Mars.2
Build Automatically is disabled and nothing is in progress.
Each time I start eclipse, there is a high CPU usage. Here is what JProfiler says:
Eclipse seems to be compiling something, by why?
Another strange thing is that if I try to quit Eclipse, the process does not terminate.
Thanks
Are you working on Javascript files using Eclipse JavaScript Editor? - Seems to be it's indexing javascript files (JSDT - JavaScript development tools) during the eclipse startup, usually indexing will take some amount of time to parse the files,index the functions and variables for content assist/proposals purpose.
I'm debugging a remote Java application using Intellij. I have defined several breakpoints, but Intellij suspends my application before hitting any of them. When I click 'Resume program', it continues to another arbitrary point that I did not mark. I have to do this several times until I finally get to the code I'm interested in. All of these unwanted pauses happen in library files. Is there a way to get Intellij to stop pausing at these places?
I am using IntelliJ IDEA 12.1.6 on (64-bit) Windows 7 Enterprise (I've also seen this same problem with IDEA 11, though not as often). I am running it under Java 7 (1.7.45).
When I run a program in the IDE, under the debugger (local debugging), everything is fine until I hit a breakpoint (these are plain old on-a-specific-line breakpoints, not method breakpoints or exception breakpoints). Once the breakpoint is hit, virtually all the time (though not always) my entire machine slows to a near halt. All keyboard operations (not just in IDEA) slow way down (they eventually do get processed so the events are buffered, not lost). Same for window operations (drag, minimize, raise, lower). Once the program resumes from the breakpoint everything goes completely back to normal until the next time a breakpoint is hit.
This is obviously really annoying as it makes debugging essentially impossible.
I've had Task Manager up and don't see anything strange. The CPU is not pegged, memory isn't maxed out, etc. My hard drive light isn't on.
Any ideas on what's going on and (more importantly) how to fix it?
It's hard to say what the problem is, but here are some things that might help:
Invalidate caches as described here--though be aware of the consequences.
Make sure you have only enabled those plugins you are actually using or likely to use.
Try to find if all breakpoints have the same problem or if, for example, you only have issues with Java breakpoints but not JavaScript ones. If that happens, it could give you a clue.
Well, it looks like my specific problem is IE-related.
The program I am debugging is the server-side of a webapp. (Sadly it is IE-only due to some weird stuff in the Ajax it is using -- I'm not responsible for that).
I have been setting my breakpoints, running the server under the debugger, and then doing stuff with the webapp in IE, which ultimately causes breakpoints to be hit. When a breakpoint is hit and I am single-stepping, everything remains OK if I do not use the keyboard at all. If I click on the various single-step icons or select the single-step actions via mouse from IDEA's "Run" menu everything keeps working. But the moment I use F8 to single-step, or hit a key in any other problem (like in a mail program) the freeze happens.
It finally occurred to me (shame on me) to run IE on another computer while running the server in the IDEA debugger on my main computer. When I do that, everything is fine and I can use the keyboard in any application, as much as I want to, and the freeze does not happen.
So the problem seems to be IE causing weirdness when it has sent a request and is waiting for a response from the server. Still, there does seem to be some interaction with IDEA because when I run IE on a separate computer and hit a breakpoint on my computer, I can use the keyboard all I want on the computer where I am running IE without any problems at all.
I'm using IntelliJ IDEA 10.0 for Java development. A few days ago it started to reveal a strange behavior with auto-completion: pop-ups with completion options appears as usual,
but IDEA completely freezes after choosing an option.
Cache cleaning doesn't help.
Has anyone else encountered this?
Update: Another symptom: IDEA freezes when trying to auto-implement method (e.g. toString)
This is may be due to garbage collector working hard.
Try give your IDE more memory. You can do it in idea.exe.vmoptions(if you use windows). Increase -xmx property to at least 512 MB.
This may not be the same issue you describe, but I have experienced long (but not eternal) freezes, where after a minute or two it came back to respond. This happened whenever I pressed Ctrl+Alt+Space in the code completion popup, which caused IDEA to load all project and external libraries to browse for possible completion options.