When Intellij is slow/unresponsive we are collecting thread dumps [to a remote server] to analyze rootcause of slowness.
We would like to find out the last action performed which is causing the slowness.
From community source code:
ourLastActionId of platform/platform-impl/src/com/intellij/idea/IdeaLogger.java has this information.
Any idea on how to use this from an intellij plugin?