Reto Höhener
Reto Höhener

Reputation: 5808

How to profile a java application in debug mode with JProfiler

I would like to get a memory snapshot at a very specific point in time, i.e. at my break point.

But I can't seem to find the necessary buttons/configuration to start the profiling in debug mode.

Using Eclipse and JProfiler 7.

Edit: More info:

enter image description here

Upvotes: 5

Views: 2515

Answers (1)

Ingo Kegel
Ingo Kegel

Reputation: 47965

Use

Sessions->Integration Wizards->New Remote Integration

in the JProfiler GUI to get the VM parameter for profiling and add that to the VM parameters of the debug run configuration in eclipse. When the run configuration is started, it will wait for a connection from the JProfiler GUI.

Upvotes: 4

Related Questions