Debugger: Add test for KT-14869
This commit is contained in:
+5
@@ -467,6 +467,11 @@ public class KotlinSteppingTestGenerated extends AbstractKotlinSteppingTest {
|
|||||||
runTest("idea/jvm-debugger/jvm-debugger-test/testData/stepping/stepOver/kt14296.kt");
|
runTest("idea/jvm-debugger/jvm-debugger-test/testData/stepping/stepOver/kt14296.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("kt14869.kt")
|
||||||
|
public void testKt14869() throws Exception {
|
||||||
|
runTest("idea/jvm-debugger/jvm-debugger-test/testData/stepping/stepOver/kt14869.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("kt15652.kt")
|
@TestMetadata("kt15652.kt")
|
||||||
public void testKt15652() throws Exception {
|
public void testKt15652() throws Exception {
|
||||||
runTest("idea/jvm-debugger/jvm-debugger-test/testData/stepping/stepOver/kt15652.kt");
|
runTest("idea/jvm-debugger/jvm-debugger-test/testData/stepping/stepOver/kt15652.kt");
|
||||||
|
|||||||
@@ -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
|
||||||
Reference in New Issue
Block a user