Run lldb command in the running lldb instance
Answered
I want to implement a CLion plugin that runs a custom command in the current lldb instance. How can I access the running lldb instance from Kotlin?
Please sign in to leave a comment.
Hi!
First of all, please keep in mind that there's no official public API for CLion-specific parts. While this should work, things can change under the hood in a way that could make third-party integrations break in the future. We try not to break things without a real need, but can't guarantee that it won't happen, alas.
Having said that, and given that you want to implement an action, or you have other means to retrieve the current debug session, this could look roughly like this: