mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 20:39:40 +07:00
#KT-39143 fixed Original commit: 545fdb96d5351157fdedb623b3b37a039bc53c4c GitOrigin-RevId: 06c1afc239c87bbcde1459efee91b078e6f1d0eb
964 B
964 B
Coroutine Debugger support
Java thread stack with coroutine information
- Real frames
- Coroutine 'preflight' frame: SuspendExitMode
is
SUSPEND_LAMBDAorSUSPEND_METHOD_PARAMETER. Location.isPreflight - One or more frames (skipped in debugger)
- Coroutine 'starting' frame: SuspendExitMode
SUSPEND_METHODframe - 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.