Debugger: Add test for KT-15652
This commit is contained in:
+5
@@ -462,6 +462,11 @@ public class KotlinSteppingTestGenerated extends AbstractKotlinSteppingTest {
|
||||
runTest("idea/jvm-debugger/jvm-debugger-test/testData/stepping/stepOver/inlineInObject.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt15652.kt")
|
||||
public void testKt15652() throws Exception {
|
||||
runTest("idea/jvm-debugger/jvm-debugger-test/testData/stepping/stepOver/kt15652.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt24343.kt")
|
||||
public void testKt24343() throws Exception {
|
||||
runTest("idea/jvm-debugger/jvm-debugger-test/testData/stepping/stepOver/kt24343.kt");
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
package test
|
||||
|
||||
fun main() {
|
||||
runBlock {
|
||||
//Breakpoint!
|
||||
throw Exception()
|
||||
}
|
||||
}
|
||||
|
||||
inline fun runBlock(block: () -> Unit) {
|
||||
block()
|
||||
}
|
||||
|
||||
// STEP_OVER: 4
|
||||
@@ -0,0 +1,10 @@
|
||||
LineBreakpoint created at kt15652.kt:6
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
kt15652.kt:6
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 1
|
||||
Exception in thread "main" java.lang.Exception
|
||||
at test.Kt15652Kt.main(kt15652.kt:6)
|
||||
at test.Kt15652Kt.main(kt15652.kt)
|
||||
Reference in New Issue
Block a user