Files
kotlin-fork/idea/jvm-debugger/jvm-debugger-test/testData/stepping/stepOver/stopInWrongClass.kt
T
Yan Zhulanow 472ec72eb9 Refactor debugger tests
1. Move tests to their own module
2. Avoid sharing the 'tinyApp' project between tests
3. Clean up option directive handling
2019-10-08 19:13:56 +09:00

35 lines
542 B
Kotlin
Vendored

// FILE: stopInWrongClass.kt
package stopInWrongClass
class AA {
fun test() {
// Should be on the same line with Breakpoint 1
foo()
}
fun other() {
//Breakpoint!
foo()
}
}
fun main(args: Array<String>) {
// Shouldn't stop inside test()
AA().test()
AA().other()
}
// ADDITIONAL_BREAKPOINT: stopInWrongClass.Other.kt: Breakpoint 1
// FILE: stopInWrongClass.Other.kt
package stopInWrongClass
class A {
fun test() {
// Breakpoint 1
foo()
}
}
fun foo() {
}