Debugger: Rewrite step over action (KT-14296)

The main goal is to make behavior similar to what happens in Java. For instance, now we always skip lambdas.
Also, we can reliably use '$i$f' and '$i$a' synthetic local variables. There is no need in complicated hacks any more.
This commit is contained in:
Yan Zhulanow
2019-11-22 16:11:51 +09:00
parent b7449c2d6e
commit 8f29f8bc9d
26 changed files with 206 additions and 305 deletions
@@ -172,5 +172,4 @@ class CoroutineBuilder(val suspendContext: XSuspendContext) {
frame.safeLocation()?.safeMethod()?.name() == "invokeSuspend" &&
frame.safeLocation()?.safeMethod()?.signature() == "(Ljava/lang/Object;)Ljava/lang/Object;" &&
frame.safeLocation()?.safeLineNumber() ?: 0 < 0
}
}