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

IntelliJ Plugin - Debug

Moderators: Vladimir Kondratyev, Anton Katilin

IntelliJ Plugin - Debug

Postby mariella » Fri Apr 06, 2018 7:39 am

Hi,

Is it possible to start a debug session with IntelliJ Yourkit plugin?
In Itellij I can see just an icon to "Run" my application, not to "Debug" my application.

Tahnks in advance
mariella
 
Posts: 1
Joined: Fri Apr 06, 2018 7:30 am

Re: IntelliJ Plugin - Debug

Postby Anton Katilin » Fri Apr 06, 2018 8:26 am

The action "Profile" works in "Run" mode.

To debug with profiling:

- Add JVM option -agentpath with necessary parameters to your run configuration. This help topic describes how to compose it: https://www.yourkit.com/docs/java/help/agent.jsp Alternatively, you can generate -agenpath with the help of the standalone EE server integration wizard available on the profiler's Welcome screen. In the wizard, choose the "Generic server" option to explicitly get the needed -agentpath.

- Use "Debug" as you usually do.

- When you've done with profiling, remove -agentpath from the JVM options.
Anton Katilin
 
Posts: 5816
Joined: Wed Aug 11, 2004 8:37 am


Return to Java Profiler

Who is online

Users browsing this forum: No registered users and 18 guests

cron