Debugger: Fix breakpoint firing in '$suspendImpl' (KT-27645)

This commit is contained in:
Yan Zhulanow
2019-08-01 21:18:16 +09:00
parent 9096d211d3
commit 0a092d6613
9 changed files with 208 additions and 129 deletions
@@ -0,0 +1,16 @@
package suspendImpl
suspend fun main() {
Foo().foo()
}
open class Foo {
open fun foo() {
//Breakpoint!
val a = 5
val b = 6
val c = 7
}
}
// STEP_OVER: 2
@@ -0,0 +1,10 @@
LineBreakpoint created at suspendImpl.kt:10
Run Java
Connected to the target VM
suspendImpl.kt:10
suspendImpl.kt:11
suspendImpl.kt:12
Disconnected from the target VM
Process finished with exit code 0