diff --git a/idea/src/org/jetbrains/kotlin/idea/debugger/stepping/KotlinSteppingCommandProvider.kt b/idea/src/org/jetbrains/kotlin/idea/debugger/stepping/KotlinSteppingCommandProvider.kt index 4617806ede3..5df9c10c0dc 100644 --- a/idea/src/org/jetbrains/kotlin/idea/debugger/stepping/KotlinSteppingCommandProvider.kt +++ b/idea/src/org/jetbrains/kotlin/idea/debugger/stepping/KotlinSteppingCommandProvider.kt @@ -334,10 +334,10 @@ sealed class Action(val position: XSourcePositionImpl?) { is Action.RUN_TO_CURSOR -> { runReadAction { debugProcess.createRunToCursorCommand(suspendContext, position!!, ignoreBreakpoints) - }.contextAction() + }.contextAction(suspendContext) } - is Action.STEP_OUT -> debugProcess.createStepOutCommand(suspendContext).contextAction() - is Action.STEP_OVER -> debugProcess.createStepOverCommand(suspendContext, ignoreBreakpoints).contextAction() + is Action.STEP_OUT -> debugProcess.createStepOutCommand(suspendContext).contextAction(suspendContext) + is Action.STEP_OVER -> debugProcess.createStepOverCommand(suspendContext, ignoreBreakpoints).contextAction(suspendContext) } } }