From c7ba19696a29d0efe37d7f90a8784992067289d8 Mon Sep 17 00:00:00 2001 From: Nikolay Krasko Date: Mon, 10 Oct 2016 21:03:18 +0300 Subject: [PATCH] Refactoring: stop calling deprecated method (cherry picked from commit 083656c) --- .../idea/debugger/stepping/KotlinSteppingCommandProvider.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) } } }