Fully featured low overhead profiler for Java EE and Java SE platforms.
Ultimate profiling and monitoring solution for Gradle, Maven, Ant, JUnit and TestNG.
Easy to use performance and memory profiler for .NET framework.

IntelliJ - Startup parameter table unusable

Moderators: Vladimir Kondratyev, Anton Katilin

IntelliJ - Startup parameter table unusable

Postby stanft » Wed Mar 02, 2016 12:12 pm

Hi everyone,

I am using YourKit (current 2016 version) in combination with IntelliJ IDEA 15 and I am having problems with the run configurations. I try to configure a JBoss server run configuration using the YourKit profile. Anyhow, the VM startup parameter table is not usable as the height of the table is too low so that only the column headers are visible.

Is this a known problem? As there a workaround other then to edit the configuration files manually?

Regards,
Stephan
stanft
 
Posts: 15
Joined: Wed Feb 13, 2013 1:05 pm
Location: Hamburg

Re: IntelliJ - Startup parameter table unusable

Postby Anton Katilin » Wed Mar 02, 2016 12:22 pm

Hi Stephan

Could you please provide a screenshot.

As a manual workaround:
- from the profiler UI, run "Tools | Integrate with Standalone Java EE Server...." (or from the Welcome screen)
- choose Generic server
- paste the resulting -agentpath option to the IDEA run configuration alongside other JVM options such as -Xmx or -D
- use Run instead of Profile

Best regards,
Anton
Anton Katilin
 
Posts: 5575
Joined: Wed Aug 11, 2004 8:37 am

Re: IntelliJ - Startup parameter table unusable

Postby stanft » Wed Mar 02, 2016 1:06 pm

Hi Anton,

here is a screenshot that shows the problem:

Image

The table with environment variables is not usable. Window resizing does not help as the height of the table remains fixed.

Regards,
Stephan
stanft
 
Posts: 15
Joined: Wed Feb 13, 2013 1:05 pm
Location: Hamburg

Re: IntelliJ - Startup parameter table unusable

Postby Anton Katilin » Wed Mar 02, 2016 1:18 pm

Hi Stephan

Thanks for the snapshot.

The UI is composed by IDEA. The plugin only provides its panel (the tabbed pane "CPU profiling" and "Advanced") that is inserted where and how IDEA wants. It looks like it is given a bigger weight and thus takes all space.

We'll try to hack this somehow, but we cannot guarantee a success.

We'll post a bug report to JetBrains (or you can do this, if you want). Not sure they will handle this quickly.

Best regards,
Anton
Anton Katilin
 
Posts: 5575
Joined: Wed Aug 11, 2004 8:37 am

Re: IntelliJ - Startup parameter table unusable

Postby stanft » Wed Mar 02, 2016 1:21 pm

Hi Anton,

thanks for the quick response. Would be great if you could post a bug report and mention it here :-)

Best regards,
Stephan
stanft
 
Posts: 15
Joined: Wed Feb 13, 2013 1:05 pm
Location: Hamburg


Re: IntelliJ - Startup parameter table unusable

Postby stanft » Wed Mar 02, 2016 1:34 pm

Great!
stanft
 
Posts: 15
Joined: Wed Feb 13, 2013 1:05 pm
Location: Hamburg

Re: IntelliJ - Startup parameter table unusable

Postby Anton Katilin » Wed Mar 02, 2016 3:13 pm

Update: we have made the profiler settings more compact, they now take less space and thus more space is left for other components.

Could you please try whether the fix addresses the problem:

1. Download https://www.yourkit.com/download/tmp/20 ... r-idea.jar
2. Write it over <profiler installation directory>/idea13-plugin/yourkit-for-idea.jar
3. Re-run the IDE integration wizard from the profiler UI.
Anton Katilin
 
Posts: 5575
Joined: Wed Aug 11, 2004 8:37 am

Re: IntelliJ - Startup parameter table unusable

Postby stanft » Wed Mar 02, 2016 3:54 pm

Hi Anton,

wow ... that was quick. At least the fix allows me to see a single row in the table. So the fix allows me to edit the parameters at least. Thank you very much!!

Now, I hope that the folks at Jetbrains offer a fix that would allow the user to resize the elements or make the area scrollable. That would be best solution in my opinion.

Regards,
Stephan
stanft
 
Posts: 15
Joined: Wed Feb 13, 2013 1:05 pm
Location: Hamburg


Return to Java Profiler

Who is online

Users browsing this forum: Google [Bot] and 12 guests

cron