How to run yourkit in intellij in debug mode.

Questions about YourKit Java Profiler
Post Reply
dkllj
Posts: 2
Joined: Thu Jul 14, 2005 6:23 pm

How to run yourkit in intellij in debug mode.

Post by dkllj »

I have:
intellij 4.5.4
application uses jdk 1.4.2
yourkit 4.5 Eap build 626

When I profile the appplication it starts in java run mode.

Is there a way to run the applicaition in java debug mode?
Vladimir Kondratyev
Posts: 1624
Joined: Tue Aug 10, 2004 7:52 pm

Post by Vladimir Kondratyev »

Add -agentlib:yjpagent to JVM option in your run configuration
dkllj
Posts: 2
Joined: Thu Jul 14, 2005 6:23 pm

Post by dkllj »

This did not work I think is for Java version 5.0
Unrecognized option: -agentlib:yjpagent
Could not create the Java virtual machine.

This did work (added the following to JVM parameters)
-Xrunyjpagent
Post Reply