IDEA-228415: breakpoints are ignored in Java if android module present in the project
authorAndrei Kuznetsov <andrei.kuznetsov@jetbrains.com>
Tue, 11 Feb 2020 09:42:46 +0000 (12:42 +0300)
committerintellij-monorepo-bot <intellij-monorepo-bot-no-reply@jetbrains.com>
Fri, 14 Feb 2020 11:39:06 +0000 (11:39 +0000)
commit8d05723e83f83fb46f48b520608ee2d23606d922
treeed15681c014c11db91ed9ea390d24943485f9c80
parentb87278531c393c1a165c46f22879306642ffc697
IDEA-228415: breakpoints are ignored in Java if android module present in the project

Java process forked by Gradle does not include debugger agent due to missing cmd line argument.
Gradle script debugging also does not work due to missing cmd line argument.
This is only the case when android modules are present since in this case AndroidGradleTaskManager takes control over gradle task execution.
When there is no android modules, Idea's GradleTaskManager takes control, and all the JVM options are added as expected.

GitOrigin-RevId: 1e20557c5d89921378746dc8917943d1884365c8
platform/external-system-impl/src/com/intellij/openapi/externalSystem/service/execution/ExternalSystemJdkUtil.java
platform/external-system-impl/src/com/intellij/openapi/externalSystem/service/execution/ExternalSystemRunnableState.java
platform/external-system-impl/src/com/intellij/openapi/externalSystem/task/BaseExternalSystemTaskManager.java [deleted file]
platform/external-system-rt/src/com/intellij/openapi/externalSystem/rt/execution/ForkedDebuggerConfiguration.java [deleted file]
plugins/gradle/java/src/service/project/JavaGradleProjectResolver.java
plugins/gradle/src/org/jetbrains/plugins/gradle/service/execution/GradleRunConfiguration.java
plugins/gradle/src/org/jetbrains/plugins/gradle/service/task/GradleTaskManager.java