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:
+1
-1
@@ -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
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
Vendored
+1
-1
@@ -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
|
||||
|
||||
Vendored
+1
-1
@@ -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
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user