bf890a1540
- Make it extendable and easier to parse - Allow to create additional function breakpoints
35 lines
543 B
Kotlin
Vendored
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() {
|
|
} |