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:
Vendored
+5
-5
@@ -55,23 +55,23 @@ class A {
|
||||
}
|
||||
}
|
||||
|
||||
// ADDITIONAL_BREAKPOINT: isInsideInlineLambdaInLibrary.kt:Breakpoint1:(1)
|
||||
// ADDITIONAL_BREAKPOINT: isInsideInlineLambdaInLibrary.kt / Breakpoint1 / line / 1
|
||||
// EXPRESSION: it + 11
|
||||
// RESULT: 12: I
|
||||
|
||||
// ADDITIONAL_BREAKPOINT: isInsideInlineLambdaInLibrary.kt:Breakpoint2:(1)
|
||||
// ADDITIONAL_BREAKPOINT: isInsideInlineLambdaInLibrary.kt / Breakpoint2 / line / 1
|
||||
// EXPRESSION: it + 12
|
||||
// RESULT: 14: I
|
||||
|
||||
// ADDITIONAL_BREAKPOINT: isInsideInlineLambdaInLibrary.kt:Breakpoint3:(1)
|
||||
// ADDITIONAL_BREAKPOINT: isInsideInlineLambdaInLibrary.kt / Breakpoint3 / line / 1
|
||||
// EXPRESSION: it + 13
|
||||
// RESULT: 16: I
|
||||
|
||||
// ADDITIONAL_BREAKPOINT: isInsideInlineLambdaInLibrary.kt:Breakpoint4:(1)
|
||||
// ADDITIONAL_BREAKPOINT: isInsideInlineLambdaInLibrary.kt / Breakpoint4 / line / 1
|
||||
// EXPRESSION: it + 14
|
||||
// RESULT: 18: I
|
||||
|
||||
// ADDITIONAL_BREAKPOINT: isInsideInlineLambdaInLibrary.kt:Breakpoint5:(1)
|
||||
// ADDITIONAL_BREAKPOINT: isInsideInlineLambdaInLibrary.kt / Breakpoint5 / line / 1
|
||||
// EXPRESSION: it + 15
|
||||
// RESULT: 20: I
|
||||
|
||||
|
||||
+5
-5
@@ -9,23 +9,23 @@ fun main(args: Array<String>) {
|
||||
customLib.simpleLibFile.foo()
|
||||
}
|
||||
|
||||
// ADDITIONAL_BREAKPOINT: 1.kt:public fun oneFunSameFileNameFun(): Int {
|
||||
// ADDITIONAL_BREAKPOINT: a1.kt / public fun oneFunSameFileNameFun(): Int {
|
||||
// EXPRESSION: 1 + 1
|
||||
// RESULT: 2: I
|
||||
|
||||
// ADDITIONAL_BREAKPOINT: 1.kt:public fun twoFunDifferentSignatureFun(): Int {
|
||||
// ADDITIONAL_BREAKPOINT: a1.kt / public fun twoFunDifferentSignatureFun(): Int {
|
||||
// EXPRESSION: 1 + 2
|
||||
// RESULT: 3: I
|
||||
|
||||
// ADDITIONAL_BREAKPOINT: 1.kt:public val foo: Int =
|
||||
// ADDITIONAL_BREAKPOINT: a1.kt / public val foo: Int =
|
||||
// EXPRESSION: 1 + 3
|
||||
// RESULT: 4: I
|
||||
|
||||
// ADDITIONAL_BREAKPOINT: 1.kt:public fun breakpointOnLocalPropertyFun(): Int {
|
||||
// ADDITIONAL_BREAKPOINT: a1.kt / public fun breakpointOnLocalPropertyFun(): Int {
|
||||
// EXPRESSION: 1 + 4
|
||||
// RESULT: 5: I
|
||||
|
||||
// ADDITIONAL_BREAKPOINT: simpleLibFile.kt:public fun foo() {
|
||||
// ADDITIONAL_BREAKPOINT: simpleLibFile.kt / public fun foo() {
|
||||
// EXPRESSION: 1 + 5
|
||||
// RESULT: 6: I
|
||||
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ fun main(args: Array<String>) {
|
||||
customLib.localFunInLibraryCustomLib.localFunInLibraryCustomLibMainFun()
|
||||
}
|
||||
|
||||
// ADDITIONAL_BREAKPOINT: localFunCustomLib.kt:localFunInLibraryCustomLibProperty
|
||||
// ADDITIONAL_BREAKPOINT: localFunCustomLib.kt / localFunInLibraryCustomLibProperty
|
||||
// EXPRESSION: localFun()
|
||||
// RESULT: 1: I
|
||||
|
||||
|
||||
Reference in New Issue
Block a user