5

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

Reto Höhener
  • 5,419
  • 4
  • 39
  • 79
  • Dear @JoeriHendrickx, this is a valid question and I have given a clear answer. Please help me reopen it. Thank you. – Ingo Kegel Jun 11 '18 at 21:40
  • Dear @MichaelDodd, this is a valid question and I have given a clear answer. Please help me reopen it. Thank you. – Ingo Kegel Jun 11 '18 at 21:40
  • Dear @EdwardRuchevits, this is a valid question and I have given a clear answer. Please help me reopen it. Thank you. – Ingo Kegel Jun 11 '18 at 21:41
  • Dear @rkosegi, this is a valid question and I have given a clear answer. Please help me reopen it. Thank you. – Ingo Kegel Jun 11 '18 at 21:41
  • Dear @CodeChimp, this is a valid question and I have given a clear answer. Please help me reopen it. Thank you. – Ingo Kegel Jun 11 '18 at 21:41

1 Answers1

4

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.

Ingo Kegel
  • 46,523
  • 10
  • 71
  • 102
  • Thanks. I added the -agentpath parameter (see screenshot), but when launching, it does not wait for the JProfiler GUI. Not sure if this was the correct place to configure the parameter. – Reto Höhener Jun 11 '18 at 13:40
  • 1
    You have to add it to VM parameters, not to the program arguments. – Ingo Kegel Jun 11 '18 at 14:54