Debugger, tests: Change ADDITIONAL_BREAKPOINT directive format

- Make it extendable and easier to parse
- Allow to create additional function breakpoints
This commit is contained in:
Yan Zhulanow
2020-02-06 21:14:48 +09:00
parent 4244f05307
commit bf890a1540
15 changed files with 49 additions and 44 deletions
@@ -5,7 +5,7 @@ fun main(args: Array<String>) {
inlineInObject.other.TestInlineInObject.inlineFun()
}
// ADDITIONAL_BREAKPOINT: inlineInObject.Other.kt: Breakpoint 1
// ADDITIONAL_BREAKPOINT: inlineInObject.Other.kt / Breakpoint 1
// FILE: inlineInObject.Other.kt
package inlineInObject.other
@@ -5,7 +5,7 @@ fun main(args: Array<String>) {
inlineFun()
}
// ADDITIONAL_BREAKPOINT: stopInInlineInOtherFile.Other.kt: Breakpoint 1
// ADDITIONAL_BREAKPOINT: stopInInlineInOtherFile.Other.kt / Breakpoint 1
// FILE: stopInInlineInOtherFile.Other.kt
package stopInInlineInOtherFile
@@ -6,7 +6,7 @@ fun main(args: Array<String>) {
val i = 1
}
// ADDITIONAL_BREAKPOINT: stopInInlineInOtherFileWithLambdaArgument.Other.kt: Breakpoint 1
// ADDITIONAL_BREAKPOINT: stopInInlineInOtherFileWithLambdaArgument.Other.kt / Breakpoint 1
// FILE: stopInInlineInOtherFileWithLambdaArgument.Other.kt
package stopInInlineInOtherFileWithLambdaArgument
@@ -19,7 +19,7 @@ fun main(args: Array<String>) {
AA().other()
}
// ADDITIONAL_BREAKPOINT: stopInWrongClass.Other.kt: Breakpoint 1
// ADDITIONAL_BREAKPOINT: stopInWrongClass.Other.kt / Breakpoint 1
// FILE: stopInWrongClass.Other.kt
package stopInWrongClass