-
-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Icons are greyed out. #14
Comments
there is only this condition:
What kind of Run Configuration are you using? |
I execute a gradle task as Run Configuration: I guess I need a JAR Applicatoin? |
Yep, JUnit/TestNG/Application... I will look into it, but not even YourKit buttons are enabled for gradle... |
Ok thank you. Don't worry too much about Gradle support... if somebedy wants to profile something he will manage to make an according Run Configuration :) |
I just tried it, and it does not seem possible without some heavy hacks, since Gradle uses deamons. |
At least for Unit Tests, yes. AFAIK (have not veryfied this) it starts the application without a daemon. |
this uses the deamon too. It is possible to run it as a Groovy task, then it will run in its own process with the visualvm.id correctly set and with working buttons, however that is a wrapper too (org.gradle.launcher.GradleMain) and forks another process in which the app is running, and it cannot be debugged this way - Maven does something similar and the process forking can be disabled, so perhaps this too can be configured... There must be some way how to pass a VM parameter via the deamon to the forked processes... |
The gradle run task from the Application Plugin runs my application in a seperate process. It sais it uses the JavaExec function. This function also takes VM args. Example:
Source: http://mrhaki.blogspot.com/2010/09/gradle-goodness-run-java-application.html edit: did not read your answer correctly, discard what I just wrote |
I have the same issue! Icons are also greyed out even in "Run" menu as you can see on the screenshot below: -My project uses the same jdk as shown in the plugin configuration; Can you help me with this problem? |
@krasa I think I have found the root cause of this problem - it is all about configuration type: Icons are grayed out for Icons are active for You can also observe similar behavior when launching tests from IntelliJ IDEA No Icons for Icons are visible for Action Changing Default test configuration |
The VisualVM icons are greyed out. I specified the executable (
/usr/lib/jvm/java-8-oracle/bin/jvisualvm
, that is on Ubuntu) but nothing happens.I can run the VisualVM from the terminal without problems.
Any ideas where to start troubleshooting?
IDEA version: 14.1
The text was updated successfully, but these errors were encountered: