Is there a way to profile (<https://intellij-suppo...
# android
m
Is there a way to profile (https://intellij-support.jetbrains.com/hc/en-us/articles/207241235-Reporting-performance-problems#capture_slow_startup_2019_2) Android Studio on Windows? Need for kotlin-related issue (kts autocomplete). For me, "Start async profiler" option is grayed out, pressing "Enable async profiler" throws
Can't attach profiler agent dynamically. Please try to enable it persistent
. Adding provided flags to vmoptions causes studio to just flat out not start.
a
I'm not sure it's possible, other than getting the thread dumps as described in the official AS bug report reference https://developer.android.com/studio/report-bugs Async profiler is not supported on Windows yet. However if the problem is related to Kotlin, AS may not be necessary. Can you please try capturing a snapshot in Intellij IDEA, ex. 2019.2 EAP? It should work there.