Debugger: Fix "smart step into" for library declarations (KT-33303)
This commit is contained in:
+5
@@ -1261,6 +1261,11 @@ public class KotlinSteppingTestGenerated extends AbstractKotlinSteppingTest {
|
||||
runTest("idea/jvm-debugger/jvm-debugger-test/testData/stepping/custom/smartStepIntoWithOverrides.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("stepIntoLibWithSources.kt")
|
||||
public void testStepIntoLibWithSources() throws Exception {
|
||||
runTest("idea/jvm-debugger/jvm-debugger-test/testData/stepping/custom/stepIntoLibWithSources.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("stepIntoStdlibInlineFun2step.kt")
|
||||
public void testStepIntoStdlibInlineFun2step() throws Exception {
|
||||
runTest("idea/jvm-debugger/jvm-debugger-test/testData/stepping/custom/stepIntoStdlibInlineFun2step.kt");
|
||||
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
package stepIntoLibWithSources
|
||||
|
||||
import java.io.StringReader
|
||||
|
||||
fun main() {
|
||||
//Breakpoint!
|
||||
val text = StringReader("OK").readText()
|
||||
}
|
||||
|
||||
// SMART_STEP_INTO_BY_INDEX: 2
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
LineBreakpoint created at stepIntoLibWithSources.kt:7
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
stepIntoLibWithSources.kt:7
|
||||
ReadWrite.!EXT!
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
Reference in New Issue
Block a user