hotswap-agent-intellij-plugin
hotswap-agent-intellij-plugin copied to clipboard
The plugin can't work for me
Hi,
I follow the install illustration installed the plugin,but it can't work.
My environment is:
IDEA: 2017.2.5
JDK Version: java8_131
DECVM Install:
IDEA Plugin Setting:
When i debug run the configuration ,there is not any changes than before.
Hi,
I found the reason ,whenmake Gradle delagate the IDEA' building, the howswap will not work.
Gradle used jvm may be another different from the IDEA configuration . How to make hotswap-agent work in this case?
@lugreen Actually it doesn't matter if you use delegate IDE build to Gradle or not. In your particular case you are trying to run some tests via Gradle runner. What is the real use case to use hot swap agent in test? The main idea behind hot swap agent to use a better redeploy in case if you are debugging some application started in IDE. Tests are usually can be simple restarted because there is no overhead to stop test and run it again.
By the way. It still possible to use hotswap agent via plugin in test configured with Gradle Test Runner. It fully depends which JVM use Gradle to run your test. You can try to reconfigure Gradle to use JVM with DCVM installed.