Debugger: Add test for KT-14869

This commit is contained in:
Yan Zhulanow
2020-02-05 17:41:37 +09:00
parent ea7ffa70b3
commit 2f34bc88dc
3 changed files with 28 additions and 0 deletions
@@ -0,0 +1,14 @@
package test
fun main(args: Array<String>) {
foo().let {
it
}
}
fun foo(): Int {
//Breakpoint!
return 1
}
// STEP_OVER: 3
@@ -0,0 +1,9 @@
LineBreakpoint created at kt14869.kt:11
Run Java
Connected to the target VM
kt14869.kt:11
kt14869.kt:4
kt14869.kt:7
Disconnected from the target VM
Process finished with exit code 0