Debugger: Fix for coroutine debugger after review

This commit is contained in:
Aleksandr Prokopyev
2019-10-01 11:57:02 +03:00
committed by Vladimir Ilmov
parent 5975251a32
commit 12313fa5aa
9 changed files with 89 additions and 105 deletions
@@ -100,9 +100,4 @@ class ExecutionContext(val evaluationContext: EvaluationContextImpl, val framePr
@Suppress("DEPRECATION")
DebuggerUtilsEx.keep(reference, evaluationContext)
}
}
fun DebuggerContextImpl.createExecutionContext(): ExecutionContext? {
val context = createEvaluationContext()
return ExecutionContext(context ?: return null, frameProxy ?: return null)
}