Files
kotlin-fork/idea/jvm-debugger/jvm-debugger-test/testData/stepping/stepOver/stopInWrongClass.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

35 lines
543 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() {
}