I'm developing a Tool-Window plugin for IntelliJ, I get some weird freezes and I can't figure out why.
Everything works as expected on my Mac mini, I tell IntelliJ to debug or run my plugin and it gets launched in another instance of the IDE.
On my MacBook though it launches the new instance and shows my plugin but as soon as I click on anything, not only in the plugin but the entire window, that Java instance freezes, CPU usage goes up to 100% and consumes all available memory.
IntelliJ does not freeze, if I compile the plugin into a .jar file and load it manually but that is not really a viable workflow.
Has anyone experienced similar issues and can point me in some direction?
Both Systems run macOS 10.14.4 with JDK 1.8.0_212, both machines are running the current IntelliJ version:
IntelliJ IDEA 2019.1.2 (Community Edition)
Build #IC-191.7141.44, built on May 7, 2019
JRE: 1.8.0_202-release-1483-b49 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o