JVM IR: unmute stepping test noParameterExtensionLambdaArgumentCallInInline3.kt
Bytecode generated by JVM IR ensures that on multiline expressions, every call is stepped over, which seems better than in the old backend. Also remove kt34905.kt since it duplicates this test case.
This commit is contained in:
-5
@@ -482,11 +482,6 @@ public class IrKotlinSteppingTestGenerated extends AbstractIrKotlinSteppingTest
|
||||
runTest("idea/jvm-debugger/jvm-debugger-test/testData/stepping/stepOver/kt24343.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt34905.kt")
|
||||
public void testKt34905() throws Exception {
|
||||
runTest("idea/jvm-debugger/jvm-debugger-test/testData/stepping/stepOver/kt34905.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("lambdaToInlineFold.kt")
|
||||
public void testLambdaToInlineFold() throws Exception {
|
||||
runTest("idea/jvm-debugger/jvm-debugger-test/testData/stepping/stepOver/lambdaToInlineFold.kt");
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
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
|
||||
@@ -1,11 +0,0 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
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
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
LineBreakpoint created at noParameterExtensionLambdaArgumentCallInInline3.kt:12
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
noParameterExtensionLambdaArgumentCallInInline3.kt:12
|
||||
noParameterExtensionLambdaArgumentCallInInline3.kt:13
|
||||
noParameterExtensionLambdaArgumentCallInInline3.kt:14
|
||||
noParameterExtensionLambdaArgumentCallInInline3.kt:15
|
||||
noParameterExtensionLambdaArgumentCallInInline3.kt:7
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+3
-1
@@ -12,4 +12,6 @@ inline fun lookAtMe(f: String.() -> Unit) {
|
||||
"123".
|
||||
f()
|
||||
val b = "b"
|
||||
}
|
||||
}
|
||||
|
||||
// STEP_OVER: 4
|
||||
|
||||
+2
-1
@@ -1,9 +1,10 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
LineBreakpoint created at noParameterExtensionLambdaArgumentCallInInline3.kt:12
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
noParameterExtensionLambdaArgumentCallInInline3.kt:12
|
||||
noParameterExtensionLambdaArgumentCallInInline3.kt:14
|
||||
noParameterExtensionLambdaArgumentCallInInline3.kt:15
|
||||
noParameterExtensionLambdaArgumentCallInInline3.kt:7
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
|
||||
Reference in New Issue
Block a user