Hi everyone,
I'm currently trying to integrate YourKit Java Profiler with my IntelliJ IDEA setup for a large-scale Spring Boot application. I've followed the official documentation, adding the necessary VM options to my run configuration. However, I'm encountering some issues with the profiler not attaching automatically when I start my application through IntelliJ.
Specifically, I've tried:
* Adding `-agentpath:/path/to/yjpagent.dylib` (on macOS) to the VM options.
* Verifying that the path to the agent library is correct.
* Ensuring that the YourKit profiler is running before launching the application.
Despite these steps, the profiler doesn't seem to connect unless I manually attach it after the application has started. This makes it difficult to capture early startup performance metrics.
Has anyone else experienced similar issues with IntelliJ integration? Are there any specific configurations or troubleshooting steps that I might be missing? Any insights or suggestions would be greatly appreciated.
Thanks in advance!
YourKit profiler integration with IntelliJ IDEA.
-
- Posts: 1
- Joined: Sat May 10, 2025 8:03 pm
-
- Posts: 1675
- Joined: Tue Aug 10, 2004 7:52 pm
Re: YourKit profiler integration with IntelliJ IDEA.
Which exact profiler version are you using?
Best regards,
Vladimir Kondratyev
YourKit GmbH
http://www.yourkit.com
"Don't get lost in data, get information!"
Best regards,
Vladimir Kondratyev
YourKit GmbH
http://www.yourkit.com
"Don't get lost in data, get information!"