Profiling circle of death

Questions about YourKit Java Profiler
Post Reply
heddle
Posts: 5
Joined: Fri Jun 02, 2023 5:45 pm

Profiling circle of death

Post by heddle »

Sorry for the noob question. Literally I am trying the product for the first time.

Tried running "profile from within the IDE (eclipse)" from the app. It said to install the plugin. I did.

After installing the plugin successfully, from within eclipse I (after restarting eclipse) launch the app using the now present "Profile" option (alongside run and debug.) I get an error dialog stating:

No valid YourKit Java Profiler configuration settings are found: file blahblah/.yjp.ide2023_5.txt is missing or is obsolete.

The file actually is there and contains:

agent-path.arm64=/Applications/YourKit-Java-Profiler-2023.5.app/Contents/Resources/bin/mac/libyjpagent.dylib
plugin-ide=Eclipse
plugin-version=20180410
profiler-dir=/Applications/YourKit-Java-Profiler-2023.5.app/Contents/Resources


so I guess it is obsolete since that was the only other option.

If I try the suggestion, to launch the app and run "profile from within IDE" I get an error telling me to install the plugin. I'm back to where I started.

How do I get out of this infinite loop?

Thanks!
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Profiling circle of death

Post by Anton Katilin »

Hi,

Eclipse and the profiler UI should use the same home directory to let the plugin work.

Could you please check whether the path from the "No valid YourKit Java Profiler configuration settings are found: file blahblah/.yjp.ide2023_5.txt is missing or is obsolete." message matches the actual path to ide2023_5.txt.
heddle
Posts: 5
Joined: Fri Jun 02, 2023 5:45 pm

Re: Profiling circle of death

Post by heddle »

Hi,

Thank you for the reply.

They match. It is my home dir /Users/heddle (MacOS) then the subdir .yjp and in that dir is the file ide2023_5.txt.

Image
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Profiling circle of death

Post by Anton Katilin »

Could you please send all log files from ~/.yjp/log to [email protected]
heddle
Posts: 5
Joined: Fri Jun 02, 2023 5:45 pm

Re: Profiling circle of death

Post by heddle »

Anton Katilin wrote: Mon Jun 05, 2023 12:05 pm Could you please send all log files from ~/.yjp/log to [email protected]
Done!
heddle
Posts: 5
Joined: Fri Jun 02, 2023 5:45 pm

Re: Profiling circle of death

Post by heddle »

Hi Anton,
Did the logs help?
Vladimir Kondratyev
Posts: 1624
Joined: Tue Aug 10, 2004 7:52 pm

Re: Profiling circle of death

Post by Vladimir Kondratyev »

Did the logs help?
Yes, we got it all. Investigating.

Best regards,
Vladimir Kondratyev
YourKit GmbH
http://www.yourkit.com
"Don't get lost in data, get information!"
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Profiling circle of death

Post by Anton Katilin »

Hi,

We've just send you an email, could you please check.

Best regards,
Anton
heddle
Posts: 5
Joined: Fri Jun 02, 2023 5:45 pm

Re: Profiling circle of death

Post by heddle »

Hi,

Yes I got the email, I will get to it today.
Vladimir Kondratyev
Posts: 1624
Joined: Tue Aug 10, 2004 7:52 pm

Re: Profiling circle of death

Post by Vladimir Kondratyev »

Are you running x64 IntelliJ IDEA or arm64 macOS via Rosetta emulator?

Best regards,
Vladimir Kondratyev
YourKit GmbH
http://www.yourkit.com
"Don't get lost in data, get information!"
Vladimir Kondratyev
Posts: 1624
Joined: Tue Aug 10, 2004 7:52 pm

Re: Profiling circle of death

Post by Vladimir Kondratyev »

Please try YourKit Java Profiler 2023.5.228. It should fix the problem.

Best regards,
Vladimir Kondratyev
YourKit GmbH
http://www.yourkit.com
"Don't get lost in data, get information!"
Post Reply