Remove unneeded usage of the blocking invokeInManagerThread() (KT-24282)

This commit is contained in:
Yan Zhulanow
2018-11-30 16:39:01 +09:00
parent e12af0e2d1
commit ae4f05cf62
@@ -93,7 +93,7 @@ class KotlinSteppingCommandProvider : JvmSteppingCommandProvider() {
}
val file = sourcePosition.elementAt.containingFile
val location = suspendContext.debugProcess.invokeInManagerThread { suspendContext.frameProxy?.location() } ?: return null
val location = suspendContext.frameProxy?.location() ?: return null
if (isInSuspendMethod(location) && !isOnSuspendReturnOrReenter(location) && !isLastLineLocationInMethod(location)) {
return DebugProcessImplHelper.createStepOverCommandWithCustomFilter(
suspendContext, ignoreBreakpoints, KotlinSuspendCallStepOverFilter(sourcePosition.line, file, ignoreBreakpoints)