mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
`CoroutinesDebugHelper#getCoroutineStackTraceDump` added a frame to the async stack trace only if the corresponding continuation was an instance of `kotlin.coroutines.BaseContinuationImpl`. But that's not always true, e.g. for `DispatchedContinuation` in case of `withContext`. So, collect frames with `kotlin.coroutines.CoroutineStackFrame#callerFrame` and extract spilled variables if a continuation is an instance of `BaseContinuationImpl` IDEA-370748 GitOrigin-RevId: 4a722eba06bbc6e893d9f4edba3ac773510c7ea0