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
@@ -12,7 +12,7 @@ fun unused() {
secondInline()
}
// ADDITIONAL_BREAKPOINT: manyFilesWithInlineCalls1.First.kt: Breakpoint 1
// ADDITIONAL_BREAKPOINT: manyFilesWithInlineCalls1.First.kt / Breakpoint 1
// FILE: manyFilesWithInlineCalls1.First.kt
package manyFilesWithInlineCalls1.first
@@ -12,7 +12,7 @@ fun unused() {
firstInline()
}
// ADDITIONAL_BREAKPOINT: manyFilesWithInlineCalls2.Second.kt: Breakpoint 1
// ADDITIONAL_BREAKPOINT: manyFilesWithInlineCalls2.Second.kt / Breakpoint 1
// FILE: manyFilesWithInlineCalls2.First.kt
package manyFilesWithInlineCalls2.first
@@ -16,7 +16,7 @@ fun secondCall() {
}
// RESUME: 2
// ADDITIONAL_BREAKPOINT: severalInlineCallsFromOtherFile.Other.kt: Breakpoint 1
// ADDITIONAL_BREAKPOINT: severalInlineCallsFromOtherFile.Other.kt / Breakpoint 1
// FILE: severalInlineCallsFromOtherFile.Other.kt
package severalInlineCallsFromOtherFile
@@ -5,7 +5,7 @@ fun main(args: Array<String>) {
customLib.functionInLibrary.simpleFun()
}
// ADDITIONAL_BREAKPOINT: functionInLibrary.kt:public inline fun simpleFun()
// ADDITIONAL_BREAKPOINT: functionInLibrary.kt / public inline fun simpleFun()
// STEP_INTO: 5
// FILE: customLib/functionInLibrary/functionInLibrary.kt