Debugger: Fix function breakpoints for libraries (KT-36403)
This commit is contained in:
+5
@@ -1053,6 +1053,11 @@ public class KotlinSteppingTestGenerated extends AbstractKotlinSteppingTest {
|
||||
runTest("idea/jvm-debugger/jvm-debugger-test/testData/stepping/custom/funLiteral.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("functionBreakpointInStdlib.kt")
|
||||
public void testFunctionBreakpointInStdlib() throws Exception {
|
||||
runTest("idea/jvm-debugger/jvm-debugger-test/testData/stepping/custom/functionBreakpointInStdlib.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("functionBreakpoints.kt")
|
||||
public void testFunctionBreakpoints() throws Exception {
|
||||
runTest("idea/jvm-debugger/jvm-debugger-test/testData/stepping/custom/functionBreakpoints.kt");
|
||||
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
package test
|
||||
|
||||
import java.io.StringReader
|
||||
|
||||
fun main() {
|
||||
val reader = StringReader("test")
|
||||
reader.readText()
|
||||
}
|
||||
|
||||
// ADDITIONAL_BREAKPOINT: ReadWrite.kt / public fun Reader.readText() / fun
|
||||
// STEP_OVER: 1
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
FunctionBreakpoint created at ReadWrite.kt:105
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
ReadWrite.!EXT!
|
||||
ReadWrite.!EXT!
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
Reference in New Issue
Block a user