Files
kotlin-fork/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/fileWithError.kt
T
Yan Zhulanow bf890a1540 Debugger, tests: Change ADDITIONAL_BREAKPOINT directive format
- Make it extendable and easier to parse
- Allow to create additional function breakpoints
2020-05-27 02:38:43 +09:00

25 lines
515 B
Kotlin
Vendored

// FILE: fileWithError.kt
package fileWithError
fun main(args: Array<String>) {
// There is an error about internal visibility while analyzing fileWithInternal.kt
fileWithInternal.test()
}
// ADDITIONAL_BREAKPOINT: fileWithInternal.kt / Breakpoint
// EXPRESSION: 1
// RESULT: 1: I
// FILE: lib/fileWithInternal.kt
package fileWithInternal
fun test() {
// Breakpoint
val a = fileWithInternal2.MyInternal()
}
// FILE: lib/fileWithInternal2.kt
package fileWithInternal2
internal class MyInternal