idea/jvm-debugger/jvm-debugger-coroutine/ReadMe.md
Coroutine Debugger support
Java thread stack with coroutine information
- Real frames
- Coroutine ‘preflight’ frame: SuspendExitMode is
SUSPEND_LAMBDA or SUSPEND_METHOD_PARAMETER. Location.isPreflight - One or more frames (skipped in debugger)
- Coroutine ‘starting’ frame: SuspendExitMode
SUSPEND_METHOD frame - Restored from coroutine information frames
- Real frames after the ‘starting’ frame
- Creation frames (only exists if coroutine agent enabled)
Debugger interface
Debugger works as a combination of PositionManager and AsyncStackTraceProvider. Once the ‘preflight’ signature frame found PositionManager forms a ‘preflight’ frame with coroutine information which gets processed with AsyncStackTraceProvider.