Debugger: Add test for KT-34905
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package test
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
lookAtMe {
|
||||
val c = "c"
|
||||
}
|
||||
}
|
||||
|
||||
inline fun lookAtMe(f: String.() -> Unit) {
|
||||
val a = "a"
|
||||
|
||||
//Breakpoint!
|
||||
"123".
|
||||
f()
|
||||
val b = "b"
|
||||
}
|
||||
|
||||
// STEP_OVER: 3
|
||||
@@ -0,0 +1,10 @@
|
||||
LineBreakpoint created at kt34905.kt:13
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
kt34905.kt:13
|
||||
kt34905.kt:15
|
||||
kt34905.kt:16
|
||||
kt34905.kt:7
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
Reference in New Issue
Block a user