Is there a way to use IntelliJ’s built-in profiler...
# announcements
p
Is there a way to use IntelliJ’s built-in profiler to work with Kotlin? It’s greyed out for me.
s
I didn’t even knew IntelliJ had a profiler 🤯 Turns out: “CPU Profiler is an experimental feature in IntelliJ IDEA Ultimate … is available on Linux and macOS”. https://www.jetbrains.com/help/idea/cpu-profiler.html Maybe it’s too experimental for Kotlin support??
Btw, did you enable it? Even if you run IntelliJ Ultimate on Linux or macOS, the profiler -as an experimental feature- is still disabled by default.
p
It is enabled for me, yes. The button is greyed out, though. Might be because it’s too experimental for Kotlin as you said.
I got it to work by adding a Profiler Configuration under Build, Execution, Deployment > Java Profiler