Move all test data for single test to one directory
This commit is contained in:
+52
@@ -0,0 +1,52 @@
|
||||
LineBreakpoint created at clearCache.kt:12
|
||||
LineBreakpoint created at clearCache.kt:20
|
||||
LineBreakpoint created at clearCache.kt:31
|
||||
LineBreakpoint created at clearCache.kt:42
|
||||
LineBreakpoint created at clearCache.kt:52
|
||||
LineBreakpoint created at clearCache.kt:60
|
||||
LineBreakpoint created at clearCache.kt:78
|
||||
LineBreakpoint created at clearCache.kt:86
|
||||
LineBreakpoint created at clearCache.kt:95
|
||||
LineBreakpoint created at clearCache.kt:105
|
||||
LineBreakpoint created at clearCache.kt:113
|
||||
LineBreakpoint created at clearCache.kt:123
|
||||
LineBreakpoint created at clearCache.kt:131
|
||||
LineBreakpoint created at clearCache.kt:149
|
||||
LineBreakpoint created at clearCache.kt:154
|
||||
LineBreakpoint created at clearCache.kt:161
|
||||
LineBreakpoint created at clearCache.kt:169
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
clearCache.kt:12
|
||||
Compile bytecode for a
|
||||
clearCache.kt:20
|
||||
Compile bytecode for a
|
||||
clearCache.kt:31
|
||||
Compile bytecode for i
|
||||
clearCache.kt:31
|
||||
clearCache.kt:42
|
||||
Compile bytecode for i
|
||||
clearCache.kt:42
|
||||
clearCache.kt:52
|
||||
Compile bytecode for o.test()
|
||||
clearCache.kt:60
|
||||
clearCache.kt:78
|
||||
Compile bytecode for c.size
|
||||
clearCache.kt:86
|
||||
clearCache.kt:95
|
||||
clearCache.kt:105
|
||||
clearCache.kt:113
|
||||
Compile bytecode for c.size
|
||||
clearCache.kt:123
|
||||
Compile bytecode for o.test()
|
||||
clearCache.kt:131
|
||||
clearCache.kt:149
|
||||
Compile bytecode for obj.test()
|
||||
clearCache.kt:154
|
||||
clearCache.kt:161
|
||||
Compile bytecode for o.test()
|
||||
clearCache.kt:169
|
||||
Compile bytecode for o.test()
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+32
@@ -0,0 +1,32 @@
|
||||
LineBreakpoint created at constructors.kt:9
|
||||
LineBreakpoint created at constructors.kt:13
|
||||
LineBreakpoint created at constructors.kt:20
|
||||
LineBreakpoint created at constructors.kt:28
|
||||
LineBreakpoint created at constructors.kt:48
|
||||
LineBreakpoint created at constructors.kt:53
|
||||
LineBreakpoint created at constructors.kt:58
|
||||
LineBreakpoint created at constructors.kt:64
|
||||
LineBreakpoint created at constructors.kt:70
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
constructors.kt:9
|
||||
Compile bytecode for p
|
||||
constructors.kt:13
|
||||
Compile bytecode for p + 1
|
||||
constructors.kt:20
|
||||
Compile bytecode for p1 + p2
|
||||
constructors.kt:28
|
||||
Compile bytecode for i1
|
||||
constructors.kt:48
|
||||
Compile bytecode for 1 + 1
|
||||
constructors.kt:53
|
||||
Compile bytecode for 1 + 2
|
||||
constructors.kt:58
|
||||
Compile bytecode for a
|
||||
constructors.kt:64
|
||||
Compile bytecode for 1 + 3
|
||||
constructors.kt:70
|
||||
Compile bytecode for i
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
LineBreakpoint created at exceptions.kt:9
|
||||
LineBreakpoint created at exceptions.kt:14
|
||||
LineBreakpoint created at exceptions.kt:26
|
||||
LineBreakpoint created at exceptions.kt:31
|
||||
LineBreakpoint created at exceptions.kt:42
|
||||
LineBreakpoint created at exceptions.kt:51
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
exceptions.kt:9
|
||||
Compile bytecode for fail()
|
||||
exceptions.kt:14
|
||||
exceptions.kt:26
|
||||
Compile bytecode for o as Derived
|
||||
exceptions.kt:31
|
||||
exceptions.kt:42
|
||||
Compile bytecode for c.get(0)
|
||||
exceptions.kt:51
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
Vendored
+53
@@ -0,0 +1,53 @@
|
||||
LineBreakpoint created at extensionMemberFunction.kt:13
|
||||
LineBreakpoint created at extensionMemberFunction.kt:19
|
||||
LineBreakpoint created at extensionMemberFunction.kt:25
|
||||
LineBreakpoint created at extensionMemberFunction.kt:31
|
||||
LineBreakpoint created at extensionMemberFunction.kt:41
|
||||
LineBreakpoint created at extensionMemberFunction.kt:46
|
||||
LineBreakpoint created at extensionMemberFunction.kt:51
|
||||
LineBreakpoint created at extensionMemberFunction.kt:56
|
||||
LineBreakpoint created at extensionMemberFunction.kt:70
|
||||
LineBreakpoint created at extensionMemberFunction.kt:76
|
||||
LineBreakpoint created at extensionMemberFunction.kt:82
|
||||
LineBreakpoint created at extensionMemberFunction.kt:88
|
||||
LineBreakpoint created at extensionMemberFunction.kt:98
|
||||
LineBreakpoint created at extensionMemberFunction.kt:103
|
||||
LineBreakpoint created at extensionMemberFunction.kt:108
|
||||
LineBreakpoint created at extensionMemberFunction.kt:113
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
extensionMemberFunction.kt:13
|
||||
Compile bytecode for extClass.testPublic()
|
||||
extensionMemberFunction.kt:19
|
||||
Compile bytecode for testPublic()
|
||||
extensionMemberFunction.kt:25
|
||||
Compile bytecode for extClass.testPrivate()
|
||||
extensionMemberFunction.kt:31
|
||||
Compile bytecode for testPrivate()
|
||||
extensionMemberFunction.kt:41
|
||||
Compile bytecode for testPublic()
|
||||
extensionMemberFunction.kt:46
|
||||
Compile bytecode for this.testPublic()
|
||||
extensionMemberFunction.kt:51
|
||||
Compile bytecode for testPrivate()
|
||||
extensionMemberFunction.kt:56
|
||||
Compile bytecode for this.testPrivate()
|
||||
extensionMemberFunction.kt:70
|
||||
Compile bytecode for extClass.testCompPublic()
|
||||
extensionMemberFunction.kt:76
|
||||
Compile bytecode for testCompPublic()
|
||||
extensionMemberFunction.kt:82
|
||||
Compile bytecode for extClass.testCompPrivate()
|
||||
extensionMemberFunction.kt:88
|
||||
Compile bytecode for testCompPrivate()
|
||||
extensionMemberFunction.kt:98
|
||||
Compile bytecode for testCompPublic()
|
||||
extensionMemberFunction.kt:103
|
||||
Compile bytecode for this.testCompPublic()
|
||||
extensionMemberFunction.kt:108
|
||||
Compile bytecode for testCompPrivate()
|
||||
extensionMemberFunction.kt:113
|
||||
Compile bytecode for this.testCompPrivate()
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
LineBreakpoint created at extensionMemberFunctionInObject.kt:14
|
||||
LineBreakpoint created at extensionMemberFunctionInObject.kt:20
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
extensionMemberFunctionInObject.kt:14
|
||||
Compile bytecode for "OK".baz()
|
||||
extensionMemberFunctionInObject.kt:20
|
||||
Compile bytecode for baz()
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
Vendored
+53
@@ -0,0 +1,53 @@
|
||||
LineBreakpoint created at extensionMemberProperty.kt:13
|
||||
LineBreakpoint created at extensionMemberProperty.kt:19
|
||||
LineBreakpoint created at extensionMemberProperty.kt:25
|
||||
LineBreakpoint created at extensionMemberProperty.kt:31
|
||||
LineBreakpoint created at extensionMemberProperty.kt:41
|
||||
LineBreakpoint created at extensionMemberProperty.kt:46
|
||||
LineBreakpoint created at extensionMemberProperty.kt:51
|
||||
LineBreakpoint created at extensionMemberProperty.kt:56
|
||||
LineBreakpoint created at extensionMemberProperty.kt:74
|
||||
LineBreakpoint created at extensionMemberProperty.kt:80
|
||||
LineBreakpoint created at extensionMemberProperty.kt:86
|
||||
LineBreakpoint created at extensionMemberProperty.kt:92
|
||||
LineBreakpoint created at extensionMemberProperty.kt:102
|
||||
LineBreakpoint created at extensionMemberProperty.kt:107
|
||||
LineBreakpoint created at extensionMemberProperty.kt:112
|
||||
LineBreakpoint created at extensionMemberProperty.kt:117
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
extensionMemberProperty.kt:13
|
||||
Compile bytecode for extClass.testPublic
|
||||
extensionMemberProperty.kt:19
|
||||
Compile bytecode for testPublic
|
||||
extensionMemberProperty.kt:25
|
||||
Compile bytecode for extClass.testPrivate
|
||||
extensionMemberProperty.kt:31
|
||||
Compile bytecode for testPrivate
|
||||
extensionMemberProperty.kt:41
|
||||
Compile bytecode for testPublic
|
||||
extensionMemberProperty.kt:46
|
||||
Compile bytecode for this.testPublic
|
||||
extensionMemberProperty.kt:51
|
||||
Compile bytecode for testPrivate
|
||||
extensionMemberProperty.kt:56
|
||||
Compile bytecode for this.testPrivate
|
||||
extensionMemberProperty.kt:74
|
||||
Compile bytecode for extClass.testCompPublic
|
||||
extensionMemberProperty.kt:80
|
||||
Compile bytecode for testCompPublic
|
||||
extensionMemberProperty.kt:86
|
||||
Compile bytecode for extClass.testCompPrivate
|
||||
extensionMemberProperty.kt:92
|
||||
Compile bytecode for testCompPrivate
|
||||
extensionMemberProperty.kt:102
|
||||
Compile bytecode for testCompPublic
|
||||
extensionMemberProperty.kt:107
|
||||
Compile bytecode for this.testCompPublic
|
||||
extensionMemberProperty.kt:112
|
||||
Compile bytecode for testCompPrivate
|
||||
extensionMemberProperty.kt:117
|
||||
Compile bytecode for this.testCompPrivate
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
Vendored
+14
@@ -0,0 +1,14 @@
|
||||
LineBreakpoint created at funFromOuterClassInLamdba.kt:20
|
||||
LineBreakpoint created at funFromOuterClassInLamdba.kt:28
|
||||
LineBreakpoint created at funFromOuterClassInLamdba.kt:36
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
funFromOuterClassInLamdba.kt:20
|
||||
Compile bytecode for foo() + 1
|
||||
funFromOuterClassInLamdba.kt:28
|
||||
Compile bytecode for foo() + 2
|
||||
funFromOuterClassInLamdba.kt:36
|
||||
Compile bytecode for foo() + 3
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
LineBreakpoint created at initializer.kt:12
|
||||
LineBreakpoint created at initializer.kt:18 lambdaOrdinal = -1
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
initializer.kt:12
|
||||
Compile bytecode for prop
|
||||
initializer.kt:18
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
LineBreakpoint created at isInsideInlineLambdaInLibrary.kt:6 lambdaOrdinal = 1
|
||||
LineBreakpoint created at isInsideInlineLambdaInLibrary.kt:11 lambdaOrdinal = 1
|
||||
LineBreakpoint created at isInsideInlineLambdaInLibrary.kt:17 lambdaOrdinal = 1
|
||||
LineBreakpoint created at isInsideInlineLambdaInLibrary.kt:23 lambdaOrdinal = 1
|
||||
LineBreakpoint created at isInsideInlineLambdaInLibrary.kt:31 lambdaOrdinal = 1
|
||||
LineBreakpoint created at isInsideInlineLambda.kt:9 lambdaOrdinal = 1
|
||||
LineBreakpoint created at isInsideInlineLambda.kt:17 lambdaOrdinal = 1
|
||||
LineBreakpoint created at isInsideInlineLambda.kt:25 lambdaOrdinal = 1
|
||||
LineBreakpoint created at isInsideInlineLambda.kt:33 lambdaOrdinal = 1
|
||||
LineBreakpoint created at isInsideInlineLambda.kt:43 lambdaOrdinal = 1
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
isInsideInlineLambda.kt:9
|
||||
Compile bytecode for it + 1
|
||||
isInsideInlineLambda.kt:17
|
||||
Compile bytecode for it + 2
|
||||
isInsideInlineLambda.kt:25
|
||||
Compile bytecode for it + 3
|
||||
isInsideInlineLambda.kt:33
|
||||
Compile bytecode for it + 4
|
||||
isInsideInlineLambda.kt:43
|
||||
Compile bytecode for it + 5
|
||||
isInsideInlineLambdaInLibrary.kt:6
|
||||
Compile bytecode for it + 11
|
||||
isInsideInlineLambdaInLibrary.kt:11
|
||||
Compile bytecode for it + 12
|
||||
isInsideInlineLambdaInLibrary.kt:17
|
||||
Compile bytecode for it + 13
|
||||
isInsideInlineLambdaInLibrary.kt:23
|
||||
Compile bytecode for it + 14
|
||||
isInsideInlineLambdaInLibrary.kt:31
|
||||
Compile bytecode for it + 15
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
Vendored
+20
@@ -0,0 +1,20 @@
|
||||
LineBreakpoint created at a1.kt:6
|
||||
LineBreakpoint created at a1.kt:6
|
||||
LineBreakpoint created at a1.kt:6
|
||||
LineBreakpoint created at a1.kt:6
|
||||
LineBreakpoint created at simpleLibFile.kt:4
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
a1.kt:6
|
||||
Compile bytecode for 1 + 1
|
||||
a1.kt:6
|
||||
Compile bytecode for 1 + 2
|
||||
a1.kt:6
|
||||
Compile bytecode for 1 + 3
|
||||
a1.kt:6
|
||||
Compile bytecode for 1 + 4
|
||||
simpleLibFile.kt:4
|
||||
Compile bytecode for 1 + 5
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
LineBreakpoint created at localFunCustomLib.kt:6
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
localFunCustomLib.kt:6
|
||||
Compile bytecode for localFun()
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
@@ -0,0 +1,26 @@
|
||||
LineBreakpoint created at localFun.kt:9
|
||||
LineBreakpoint created at localFun.kt:15
|
||||
LineBreakpoint created at localFun.kt:21
|
||||
LineBreakpoint created at localFun.kt:34
|
||||
LineBreakpoint created at localFun.kt:43
|
||||
LineBreakpoint created at localFun.kt:54
|
||||
LineBreakpoint created at localFun.kt:61
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
localFun.kt:9
|
||||
Compile bytecode for myLocalFun1()
|
||||
localFun.kt:15
|
||||
Compile bytecode for myLocalFun2()
|
||||
localFun.kt:21
|
||||
Compile bytecode for myLocalFun1() + 1
|
||||
localFun.kt:34
|
||||
Compile bytecode for myLocalFun4()
|
||||
localFun.kt:43
|
||||
Compile bytecode for myLocalFun5(2)
|
||||
localFun.kt:54
|
||||
Compile bytecode for myLocalFun6()
|
||||
localFun.kt:61
|
||||
Compile bytecode for myLocalFun6() + 1
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
Vendored
+38
@@ -0,0 +1,38 @@
|
||||
LineBreakpoint created at multipleBreakpointsAtLine.kt:9 lambdaOrdinal = -1
|
||||
LineBreakpoint created at multipleBreakpointsAtLine.kt:14 lambdaOrdinal = 1
|
||||
LineBreakpoint created at multipleBreakpointsAtLine.kt:19 lambdaOrdinal = 2
|
||||
LineBreakpoint created at multipleBreakpointsAtLine.kt:30
|
||||
LineBreakpoint created at multipleBreakpointsAtLine.kt:38 lambdaOrdinal = -1
|
||||
LineBreakpoint created at multipleBreakpointsAtLine.kt:43 lambdaOrdinal = 1
|
||||
LineBreakpoint created at multipleBreakpointsAtLine.kt:48 lambdaOrdinal = 2
|
||||
LineBreakpoint created at multipleBreakpointsAtLine.kt:62
|
||||
LineBreakpoint created at multipleBreakpointsAtLine.kt:67 lambdaOrdinal = 2
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
multipleBreakpointsAtLine.kt:9
|
||||
multipleBreakpointsAtLine.kt:14
|
||||
Compile bytecode for it + 2
|
||||
multipleBreakpointsAtLine.kt:19
|
||||
Compile bytecode for it + 3
|
||||
multipleBreakpointsAtLine.kt:30
|
||||
multipleBreakpointsAtLine.kt:30
|
||||
Compile bytecode for it + 5
|
||||
multipleBreakpointsAtLine.kt:30
|
||||
Compile bytecode for it + 6
|
||||
multipleBreakpointsAtLine.kt:38
|
||||
multipleBreakpointsAtLine.kt:38
|
||||
multipleBreakpointsAtLine.kt:43
|
||||
Compile bytecode for it + 9
|
||||
multipleBreakpointsAtLine.kt:48
|
||||
Compile bytecode for it + 10
|
||||
multipleBreakpointsAtLine.kt:62
|
||||
multipleBreakpointsAtLine.kt:62
|
||||
Compile bytecode for it + 12
|
||||
multipleBreakpointsAtLine.kt:62
|
||||
multipleBreakpointsAtLine.kt:62
|
||||
Compile bytecode for it + 14
|
||||
multipleBreakpointsAtLine.kt:67
|
||||
Compile bytecode for it + 15
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
LineBreakpoint created at privateMembersPriority.kt:22
|
||||
LineBreakpoint created at privateMembersPriority.kt:34
|
||||
LineBreakpoint created at privateMembersPriority.kt:41
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
privateMembersPriority.kt:22
|
||||
Compile bytecode for privateFun()
|
||||
privateMembersPriority.kt:34
|
||||
Compile bytecode for javaClass.size
|
||||
privateMembersPriority.kt:41
|
||||
Compile bytecode for TwoPrivateFun().foo(1)
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
LineBreakpoint created at remappedParameterInInline.kt:11
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
remappedParameterInInline.kt:11
|
||||
Compile bytecode for p
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
LineBreakpoint created at smartcasts.kt:19
|
||||
LineBreakpoint created at smartcasts.kt:29
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
smartcasts.kt:19
|
||||
Compile bytecode for derived.prop
|
||||
smartcasts.kt:19
|
||||
smartcasts.kt:29
|
||||
Compile bytecode for nullable.prop
|
||||
smartcasts.kt:29
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
LineBreakpoint created at whenEntry.kt:10
|
||||
LineBreakpoint created at whenEntry.kt:18
|
||||
LineBreakpoint created at whenEntry.kt:26
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
whenEntry.kt:10
|
||||
Compile bytecode for a
|
||||
whenEntry.kt:18
|
||||
Compile bytecode for a
|
||||
whenEntry.kt:26
|
||||
Compile bytecode for a
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
LineBreakpoint created at withoutBodyFunctions.kt:9
|
||||
LineBreakpoint created at withoutBodyFunctions.kt:15
|
||||
LineBreakpoint created at withoutBodyFunctions.kt:21
|
||||
LineBreakpoint created at withoutBodyFunctions.kt:27
|
||||
LineBreakpoint created at withoutBodyFunctions.kt:32
|
||||
LineBreakpoint created at withoutBodyFunctions.kt:37
|
||||
LineBreakpoint created at withoutBodyFunctions.kt:43
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
withoutBodyFunctions.kt:9
|
||||
Compile bytecode for 1 + 1
|
||||
withoutBodyFunctions.kt:15
|
||||
Compile bytecode for 1 + 2
|
||||
withoutBodyFunctions.kt:21
|
||||
Compile bytecode for i
|
||||
withoutBodyFunctions.kt:27
|
||||
Compile bytecode for i
|
||||
withoutBodyFunctions.kt:32
|
||||
Compile bytecode for i
|
||||
withoutBodyFunctions.kt:37
|
||||
Compile bytecode for i
|
||||
withoutBodyFunctions.kt:43
|
||||
Compile bytecode for test2()
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
KotlinFieldBreakpoint created at withoutBodyProperties.kt:8
|
||||
KotlinFieldBreakpoint created at withoutBodyProperties.kt:13
|
||||
LineBreakpoint created at withoutBodyProperties.kt:21
|
||||
KotlinFieldBreakpoint created at withoutBodyProperties.kt:28
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
withoutBodyProperties.kt:8
|
||||
Compile bytecode for 1 + 1
|
||||
withoutBodyProperties.kt:13
|
||||
Compile bytecode for 1 + 3
|
||||
withoutBodyProperties.kt:21
|
||||
Compile bytecode for i
|
||||
withoutBodyProperties.kt:28
|
||||
Compile bytecode for 1 + 6
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
KotlinFieldBreakpoint created at withoutBodyProperties2.kt:8
|
||||
KotlinFieldBreakpoint created at withoutBodyProperties2.kt:13
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
withoutBodyProperties2.kt:8
|
||||
Compile bytecode for 1 + 4
|
||||
withoutBodyProperties2.kt:13
|
||||
Compile bytecode for 1 + 5
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
LineBreakpoint created at withoutBodyTypeParameters.kt:8
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
withoutBodyTypeParameters.kt:8
|
||||
Compile bytecode for i
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
@@ -0,0 +1,9 @@
|
||||
LineBreakpoint created at .kt.kt:5
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
.kt.kt:5
|
||||
Compile bytecode for 1 + 1
|
||||
Compile bytecode for Test(1).a
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
LineBreakpoint created at abstractFunCall.kt:5
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
abstractFunCall.kt:5
|
||||
Compile bytecode for (1 as java.lang.Number).intValue()
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
LineBreakpoint created at accessToOverridenPropertyWithBackingField.kt:12
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
accessToOverridenPropertyWithBackingField.kt:12
|
||||
Compile bytecode for d.prop
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
LineBreakpoint created at anonymousObjects.kt:11
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
anonymousObjects.kt:11
|
||||
Compile bytecode for test(2)
|
||||
Compile bytecode for i
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
@@ -0,0 +1,16 @@
|
||||
LineBreakpoint created at arrays.kt:5
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
arrays.kt:5
|
||||
Compile bytecode for arrayOf(1, 2).map { it.toString() }
|
||||
Compile bytecode for arrayOf(1, 2, 101, 102).filter { it > 100 }
|
||||
Compile bytecode for arrayOf(1, 2).none()
|
||||
Compile bytecode for arrayOf(1, 2).count()
|
||||
Compile bytecode for arrayOf(1, 2).size
|
||||
Compile bytecode for arrayOf(1, 2).first()
|
||||
Compile bytecode for arrayOf(1, 2).last()
|
||||
Compile bytecode for intArrayOf(1, 2).max()
|
||||
Compile bytecode for arrayOf(1, 2).max()
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
@@ -0,0 +1,9 @@
|
||||
LineBreakpoint created at boxParam.kt:13
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
boxParam.kt:13
|
||||
Compile bytecode for nullableInt?.plus(1)
|
||||
Compile bytecode for nullableByte?.plus(1)
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
LineBreakpoint created at boxReturnValue.kt:7
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
boxReturnValue.kt:7
|
||||
Compile bytecode for x
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
LineBreakpoint created at inlineFunInLibrary.kt:4
|
||||
LineBreakpoint created at inlineFunInLibrary.kt:12
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
inlineFunInLibrary.kt:4
|
||||
inlineFunInLibrary.kt:12
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
@@ -0,0 +1,11 @@
|
||||
LineBreakpoint created at callableBug.kt:8
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
callableBug.kt:8
|
||||
callableBug.kt:8
|
||||
Compile bytecode for callable
|
||||
Compile bytecode for it
|
||||
callableBug.kt:8
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
LineBreakpoint created at classFromAnotherPackage.kt:7
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
classFromAnotherPackage.kt:7
|
||||
Compile bytecode for MyJavaClass()
|
||||
Compile bytecode for forTests.MyJavaClass()
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
LineBreakpoint created at classObjectVal.kt:10
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
classObjectVal.kt:10
|
||||
Compile bytecode for coProp
|
||||
Compile bytecode for MyClass.coProp
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
@@ -0,0 +1,18 @@
|
||||
LineBreakpoint created at collections.kt:6
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
collections.kt:6
|
||||
Compile bytecode for arrayListOf(1, 2).map { it.toString() }
|
||||
Compile bytecode for arrayListOf(1, 2, 101, 102).filter { it > 100 }
|
||||
Compile bytecode for arrayListOf(1, 2).max()
|
||||
Compile bytecode for arrayListOf(1, 2).count()
|
||||
Compile bytecode for arrayListOf(1, 2).size
|
||||
Compile bytecode for arrayListOf(1, 2, 3).drop(1)
|
||||
Compile bytecode for ar.map { if (it > 50) "big" else "small" }
|
||||
.filter { it == "small" }
|
||||
.size
|
||||
|
||||
// RESULT: 2: I
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
LineBreakpoint created at ceAnonymousObject.kt:18
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
ceAnonymousObject.kt:18
|
||||
Compile bytecode for publicTopLevelObject
|
||||
Compile bytecode for publicObject
|
||||
Compile bytecode for protectedObject
|
||||
Compile bytecode for localObject
|
||||
Compile bytecode for localObject.test()
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
LineBreakpoint created at ceAnonymousObjectCapturedInClosure.kt:7 lambdaOrdinal = -1
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
ceAnonymousObjectCapturedInClosure.kt:7
|
||||
Compile bytecode for lambda { localObject.test() }
|
||||
Compile bytecode for lambda { localObjectVar.test() }
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
LineBreakpoint created at ceAnonymousObjectThisAsReceiver.kt:9
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
ceAnonymousObjectThisAsReceiver.kt:9
|
||||
Compile bytecode for test()
|
||||
Compile bytecode for this.test()
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
LineBreakpoint created at ceLambda.kt:6
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
ceLambda.kt:6
|
||||
Compile bytecode for foo { 1 }
|
||||
Compile bytecode for foo { a }
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
Vendored
+16
@@ -0,0 +1,16 @@
|
||||
LineBreakpoint created at ceLocalClass.kt:6
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
ceLocalClass.kt:6
|
||||
Compile bytecode for class MyClass {
|
||||
fun test() = 2
|
||||
}
|
||||
|
||||
val a = MyClass()
|
||||
a.test()
|
||||
|
||||
// RESULT: 2: I
|
||||
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
LineBreakpoint created at ceLocalClassMembers.kt:19
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
ceLocalClassMembers.kt:19
|
||||
Compile bytecode for class MyClass {
|
||||
fun test() = publicFun() + publicVal + protectedFun() + protectedVal + privateFun() + privateFun()
|
||||
}
|
||||
|
||||
val a = MyClass()
|
||||
a.test()
|
||||
|
||||
// RESULT: 6: I
|
||||
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
LineBreakpoint created at ceLocalClassWithSuperClass.kt:19
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
ceLocalClassWithSuperClass.kt:19
|
||||
Compile bytecode for class MyClass: MySuperClass() {
|
||||
fun test() = publicFun()
|
||||
}
|
||||
|
||||
val a = MyClass()
|
||||
a.test()
|
||||
|
||||
// RESULT: 1: I
|
||||
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
Vendored
+13
@@ -0,0 +1,13 @@
|
||||
LineBreakpoint created at ceMembers.kt:19
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
ceMembers.kt:19
|
||||
Compile bytecode for foo { publicFun() }
|
||||
Compile bytecode for foo { publicVal }
|
||||
Compile bytecode for foo { protectedFun() }
|
||||
Compile bytecode for foo { protectedVal }
|
||||
Compile bytecode for foo { privateFun() }
|
||||
Compile bytecode for foo { privateVal }
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
LineBreakpoint created at ceObject.kt:5
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
ceObject.kt:5
|
||||
Compile bytecode for (object: T {}).test()
|
||||
Compile bytecode for (object: T { fun a() = 1 }).a()
|
||||
Compile bytecode for object: T {}
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/compilingEvaluator/ceSeveralLambdas.out
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
LineBreakpoint created at ceSeveralLambdas.kt:5
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
ceSeveralLambdas.kt:5
|
||||
Compile bytecode for foo { 1 } + foo { 1 }
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
Vendored
+13
@@ -0,0 +1,13 @@
|
||||
LineBreakpoint created at ceSuperAccess.kt:20
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
ceSuperAccess.kt:20
|
||||
Compile bytecode for foo { publicFun() }
|
||||
Compile bytecode for foo { publicVal }
|
||||
Compile bytecode for foo { protectedFun() }
|
||||
Compile bytecode for foo { protectedVal }
|
||||
Compile bytecode for foo { privateFun() }
|
||||
Compile bytecode for foo { privateVal }
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
LineBreakpoint created at createExpressionCastToBuiltIn.kt:7
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
createExpressionCastToBuiltIn.kt:7
|
||||
package createExpressionCastToBuiltIn
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val primitiveArray = intArrayOf(1)
|
||||
val stringArray = arrayOf("a")
|
||||
//Breakpoint!
|
||||
val a = 1
|
||||
}
|
||||
|
||||
// PRINT_FRAME
|
||||
// SKIP: value, hash, hash32, offset, count
|
||||
// DESCRIPTOR_VIEW_OPTIONS: NAME_EXPRESSION_RESULT
|
||||
|
||||
Compile bytecode for args
|
||||
Compile bytecode for primitiveArray
|
||||
Compile bytecode for primitiveArray[0]
|
||||
Compile bytecode for stringArray
|
||||
Compile bytecode for stringArray[0]
|
||||
frame = main
|
||||
local = args (expression = args)
|
||||
local = primitiveArray (expression = primitiveArray)
|
||||
element = 0 (expression = primitiveArray[0])
|
||||
local = stringArray (expression = stringArray)
|
||||
element = 0 (expression = stringArray[0])
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
LineBreakpoint created at createExpressionSimple.kt:15
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
createExpressionSimple.kt:15
|
||||
package createExpressionSimple
|
||||
|
||||
class MyClass: Base() {
|
||||
val i = 1
|
||||
}
|
||||
|
||||
open class Base {
|
||||
val baseI = 2
|
||||
}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val myClass: Base = MyClass()
|
||||
val myBase = Base()
|
||||
//Breakpoint!
|
||||
val a = 1
|
||||
}
|
||||
|
||||
// PRINT_FRAME
|
||||
// DESCRIPTOR_VIEW_OPTIONS: NAME_EXPRESSION
|
||||
|
||||
frame = main
|
||||
local = args (expression = args)
|
||||
local = myClass (expression = myClass)
|
||||
field = i (expression = (myClass as MyClass).i)
|
||||
field = baseI (expression = (myClass as MyClass).baseI)
|
||||
local = myBase (expression = myBase)
|
||||
field = baseI (expression = myBase.baseI)
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+40
@@ -0,0 +1,40 @@
|
||||
LineBreakpoint created at createExpressionWithArray.kt:11
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
createExpressionWithArray.kt:11
|
||||
package createExpressionWithArray
|
||||
|
||||
import forTests.MyJavaClass
|
||||
// do not remove this import, it checks that we do not insert ambiguous imports during EE
|
||||
import forTests.MyJavaClass.InnerClass
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val baseArray = arrayOf(MyJavaClass().getBaseClassValue())
|
||||
val innerArray = arrayOf(MyJavaClass().getInnerClassValue())
|
||||
//Breakpoint!
|
||||
val a = 1
|
||||
}
|
||||
|
||||
// PRINT_FRAME
|
||||
// DESCRIPTOR_VIEW_OPTIONS: NAME_EXPRESSION_RESULT
|
||||
|
||||
Compile bytecode for args
|
||||
Compile bytecode for baseArray
|
||||
Compile bytecode for baseArray[0]
|
||||
Compile bytecode for baseArray[0].i2
|
||||
Compile bytecode for innerArray
|
||||
Compile bytecode for innerArray[0]
|
||||
Compile bytecode for (innerArray[0] as InnerClass).i
|
||||
Compile bytecode for (innerArray[0] as InnerClass).i2
|
||||
frame = main
|
||||
local = args (expression = args)
|
||||
local = baseArray (expression = baseArray)
|
||||
element = 0 (expression = baseArray[0])
|
||||
field = i2 (expression = baseArray[0].i2)
|
||||
local = innerArray (expression = innerArray)
|
||||
element = 0 (expression = innerArray[0])
|
||||
field = i (expression = (innerArray[0] as InnerClass).i)
|
||||
field = i2 (expression = (innerArray[0] as InnerClass).i2)
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
LineBreakpoint created at delegatedPropertyInOtherFile.kt:9
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
delegatedPropertyInOtherFile.kt:9
|
||||
Compile bytecode for t.a
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
LineBreakpoint created at dependentOnFile.kt:7
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
dependentOnFile.kt:7
|
||||
Compile bytecode for TestClass().testFun()
|
||||
Compile bytecode for testFun()
|
||||
Compile bytecode for TestObject.p
|
||||
Compile bytecode for TestClass.p
|
||||
Compile bytecode for 1.testExtFun()
|
||||
Compile bytecode for testVal
|
||||
Compile bytecode for 1.testExtVal
|
||||
Compile bytecode for testDelVal
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
@@ -0,0 +1,8 @@
|
||||
LineBreakpoint created at doubles.kt:7
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
doubles.kt:7
|
||||
Compile bytecode for d1 + d2
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
@@ -0,0 +1,8 @@
|
||||
LineBreakpoint created at enums.kt:7
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
enums.kt:7
|
||||
Compile bytecode for A == MyEnum.A
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
@@ -0,0 +1,12 @@
|
||||
LineBreakpoint created at errors.kt:13
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
errors.kt:13
|
||||
Compile bytecode for prop += 1
|
||||
prop2 +=2
|
||||
prop + prop2
|
||||
|
||||
// RESULT: instance of kotlin.Triple(id=ID): Lkotlin/Triple;
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
LineBreakpoint created at evBreakpointOnPropertyDeclaration.kt:14
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
evBreakpointOnPropertyDeclaration.kt:14
|
||||
package evBreakpointOnPropertyDeclaration
|
||||
|
||||
class A {
|
||||
var prop = 1
|
||||
}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val a1 = A()
|
||||
val a2 = A()
|
||||
val a3 = A()
|
||||
|
||||
val p1 = a1.prop
|
||||
//Breakpoint!
|
||||
val p2 = a2.prop
|
||||
val p3 = a3.prop
|
||||
}
|
||||
|
||||
// PRINT_FRAME
|
||||
Compile bytecode for a2.prop
|
||||
frame = main:14, EvBreakpointOnPropertyDeclarationKt {evBreakpointOnPropertyDeclaration}
|
||||
local = args: java.lang.String[] = {java.lang.String[0]@uniqueID} (sp = evBreakpointOnPropertyDeclaration.kt, 7)
|
||||
local = a1: evBreakpointOnPropertyDeclaration.A = {evBreakpointOnPropertyDeclaration.A@uniqueID} (sp = evBreakpointOnPropertyDeclaration.kt, 8)
|
||||
field = prop: int = 1 (sp = evBreakpointOnPropertyDeclaration.kt, 4)
|
||||
local = a2: evBreakpointOnPropertyDeclaration.A = {evBreakpointOnPropertyDeclaration.A@uniqueID} (sp = evBreakpointOnPropertyDeclaration.kt, 9)
|
||||
field = prop: int = 1 (sp = evBreakpointOnPropertyDeclaration.kt, 4)
|
||||
local = a3: evBreakpointOnPropertyDeclaration.A = {evBreakpointOnPropertyDeclaration.A@uniqueID} (sp = evBreakpointOnPropertyDeclaration.kt, 10)
|
||||
field = prop: int = 1 (sp = evBreakpointOnPropertyDeclaration.kt, 4)
|
||||
local = p1: int = 1 (sp = evBreakpointOnPropertyDeclaration.kt, 12)
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
Vendored
+30
@@ -0,0 +1,30 @@
|
||||
LineBreakpoint created at evDelegatedProperty.kt:13
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
evDelegatedProperty.kt:13
|
||||
package evDelegatedProperty
|
||||
|
||||
import kotlin.properties.Delegates
|
||||
|
||||
class A {
|
||||
var prop: Int by Delegates.notNull()
|
||||
}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val a = A()
|
||||
a.prop = 1
|
||||
//Breakpoint!
|
||||
val b = a.prop
|
||||
}
|
||||
|
||||
// PRINT_FRAME
|
||||
frame = main:13, EvDelegatedPropertyKt {evDelegatedProperty}
|
||||
local = args: java.lang.String[] = {java.lang.String[0]@uniqueID} (sp = evDelegatedProperty.kt, 9)
|
||||
local = a: evDelegatedProperty.A = {evDelegatedProperty.A@uniqueID} (sp = evDelegatedProperty.kt, 10)
|
||||
field = prop$delegate: kotlin.properties.ReadWriteProperty = {kotlin.properties.NotNullVar@uniqueID} (sp = evDelegatedProperty.kt, 6)
|
||||
field = value: java.lang.Object = {java.lang.Integer@uniqueID}1 (sp = Delegates.!EXT!)
|
||||
field = value: int = 1 (sp = Integer.!EXT!)
|
||||
field = prop: int = 1 (sp = evDelegatedProperty.kt, 6)
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
Vendored
+25
@@ -0,0 +1,25 @@
|
||||
LineBreakpoint created at evDuplicateItems.kt:10
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
evDuplicateItems.kt:10
|
||||
package evDuplicateItems
|
||||
|
||||
class A {
|
||||
var prop = 1
|
||||
}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val a = A()
|
||||
//Breakpoint!
|
||||
val b = a.prop + a.prop
|
||||
}
|
||||
|
||||
// PRINT_FRAME
|
||||
Compile bytecode for a.prop
|
||||
frame = main:10, EvDuplicateItemsKt {evDuplicateItems}
|
||||
local = args: java.lang.String[] = {java.lang.String[0]@uniqueID} (sp = evDuplicateItems.kt, 7)
|
||||
local = a: evDuplicateItems.A = {evDuplicateItems.A@uniqueID} (sp = evDuplicateItems.kt, 8)
|
||||
field = prop: int = 1 (sp = evDuplicateItems.kt, 4)
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
Vendored
+24
@@ -0,0 +1,24 @@
|
||||
LineBreakpoint created at evFinalProperty.kt:10
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
evFinalProperty.kt:10
|
||||
package evFinalProperty
|
||||
|
||||
class A {
|
||||
val prop = 1
|
||||
}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val a = A()
|
||||
//Breakpoint!
|
||||
val b = a.prop
|
||||
}
|
||||
|
||||
// PRINT_FRAME
|
||||
frame = main:10, EvFinalPropertyKt {evFinalProperty}
|
||||
local = args: java.lang.String[] = {java.lang.String[0]@uniqueID} (sp = evFinalProperty.kt, 7)
|
||||
local = a: evFinalProperty.A = {evFinalProperty.A@uniqueID} (sp = evFinalProperty.kt, 8)
|
||||
field = prop: int = 1 (sp = evFinalProperty.kt, 4)
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
LineBreakpoint created at evFunctionDeclaration.kt:5
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
evFunctionDeclaration.kt:5
|
||||
package evFunctionDeclaration
|
||||
|
||||
class A(val a: Int) {
|
||||
//Breakpoint!
|
||||
fun foo() = a
|
||||
}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
A(1).foo()
|
||||
}
|
||||
|
||||
// PRINT_FRAME
|
||||
Compile bytecode for a
|
||||
frame = foo:5, A {evFunctionDeclaration}
|
||||
this = this = {evFunctionDeclaration.A@uniqueID}
|
||||
field = a: int = 1 (sp = evFunctionDeclaration.kt, 3)
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
Vendored
+39
@@ -0,0 +1,39 @@
|
||||
LineBreakpoint created at evLineRange.kt:15
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
evLineRange.kt:15
|
||||
package evLineRange
|
||||
|
||||
class A {
|
||||
var prop = 1
|
||||
}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val a1 = A()
|
||||
val a2 = A()
|
||||
val a3 = A()
|
||||
|
||||
foo(a1.prop)
|
||||
val i1 = 1
|
||||
//Breakpoint!
|
||||
foo(a2.prop)
|
||||
val i2 = 1
|
||||
foo(a3.prop)
|
||||
}
|
||||
|
||||
fun foo(i: Int) {}
|
||||
|
||||
// PRINT_FRAME
|
||||
Compile bytecode for a2.prop
|
||||
frame = main:15, EvLineRangeKt {evLineRange}
|
||||
local = args: java.lang.String[] = {java.lang.String[0]@uniqueID} (sp = evLineRange.kt, 7)
|
||||
local = a1: evLineRange.A = {evLineRange.A@uniqueID} (sp = evLineRange.kt, 8)
|
||||
field = prop: int = 1 (sp = evLineRange.kt, 4)
|
||||
local = a2: evLineRange.A = {evLineRange.A@uniqueID} (sp = evLineRange.kt, 9)
|
||||
field = prop: int = 1 (sp = evLineRange.kt, 4)
|
||||
local = a3: evLineRange.A = {evLineRange.A@uniqueID} (sp = evLineRange.kt, 10)
|
||||
field = prop: int = 1 (sp = evLineRange.kt, 4)
|
||||
local = i1: int = 1 (sp = evLineRange.kt, 13)
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
LineBreakpoint created at evProperty.kt:10
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
evProperty.kt:10
|
||||
package evProperty
|
||||
|
||||
class A {
|
||||
var prop = 1
|
||||
}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val a = A()
|
||||
//Breakpoint!
|
||||
if (a.prop == 1) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
// PRINT_FRAME
|
||||
Compile bytecode for a.prop
|
||||
frame = main:10, EvPropertyKt {evProperty}
|
||||
local = args: java.lang.String[] = {java.lang.String[0]@uniqueID} (sp = evProperty.kt, 7)
|
||||
local = a: evProperty.A = {evProperty.A@uniqueID} (sp = evProperty.kt, 8)
|
||||
field = prop: int = 1 (sp = evProperty.kt, 4)
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
Vendored
+29
@@ -0,0 +1,29 @@
|
||||
LineBreakpoint created at evPropertyRefExpr.kt:8
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
evPropertyRefExpr.kt:8
|
||||
package evPropertyRefExpr
|
||||
|
||||
class A {
|
||||
var prop = 1
|
||||
|
||||
fun test() {
|
||||
//Breakpoint!
|
||||
if (prop == 1) {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
A().test()
|
||||
}
|
||||
|
||||
// PRINT_FRAME
|
||||
Compile bytecode for prop
|
||||
frame = test:8, A {evPropertyRefExpr}
|
||||
this = this = {evPropertyRefExpr.A@uniqueID}
|
||||
field = prop: int = 1 (sp = evPropertyRefExpr.kt, 4)
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+40
@@ -0,0 +1,40 @@
|
||||
LineBreakpoint created at evSkipAnonymousObject.kt:12
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
evSkipAnonymousObject.kt:12
|
||||
package evSkipAnonymousObject
|
||||
|
||||
class A {
|
||||
var prop = 1
|
||||
}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val a1 = A()
|
||||
val a2 = A()
|
||||
|
||||
//Breakpoint!
|
||||
foo(a1.prop)
|
||||
object: T {
|
||||
override fun f() {
|
||||
foo(a2.prop)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
interface T {
|
||||
fun f() {}
|
||||
}
|
||||
|
||||
fun foo(i: Int) {}
|
||||
|
||||
// PRINT_FRAME
|
||||
Compile bytecode for a1.prop
|
||||
frame = main:12, EvSkipAnonymousObjectKt {evSkipAnonymousObject}
|
||||
local = args: java.lang.String[] = {java.lang.String[0]@uniqueID} (sp = evSkipAnonymousObject.kt, 7)
|
||||
local = a1: evSkipAnonymousObject.A = {evSkipAnonymousObject.A@uniqueID} (sp = evSkipAnonymousObject.kt, 8)
|
||||
field = prop: int = 1 (sp = evSkipAnonymousObject.kt, 4)
|
||||
local = a2: evSkipAnonymousObject.A = {evSkipAnonymousObject.A@uniqueID} (sp = evSkipAnonymousObject.kt, 9)
|
||||
field = prop: int = 1 (sp = evSkipAnonymousObject.kt, 4)
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
Vendored
+35
@@ -0,0 +1,35 @@
|
||||
LineBreakpoint created at evSkipLambda.kt:12
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
evSkipLambda.kt:12
|
||||
package evSkipLambda
|
||||
|
||||
class A {
|
||||
var prop = 1
|
||||
}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val a1 = A()
|
||||
val a2 = A()
|
||||
|
||||
//Breakpoint!
|
||||
foo(a1.prop)
|
||||
l {
|
||||
foo(a2.prop)
|
||||
}
|
||||
}
|
||||
|
||||
fun foo(i: Int) {}
|
||||
fun l(f: () -> Unit) {}
|
||||
|
||||
// PRINT_FRAME
|
||||
Compile bytecode for a1.prop
|
||||
frame = main:12, EvSkipLambdaKt {evSkipLambda}
|
||||
local = args: java.lang.String[] = {java.lang.String[0]@uniqueID} (sp = evSkipLambda.kt, 7)
|
||||
local = a1: evSkipLambda.A = {evSkipLambda.A@uniqueID} (sp = evSkipLambda.kt, 8)
|
||||
field = prop: int = 1 (sp = evSkipLambda.kt, 4)
|
||||
local = a2: evSkipLambda.A = {evSkipLambda.A@uniqueID} (sp = evSkipLambda.kt, 9)
|
||||
field = prop: int = 1 (sp = evSkipLambda.kt, 4)
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
Vendored
+36
@@ -0,0 +1,36 @@
|
||||
LineBreakpoint created at evSkipLocalClass.kt:12
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
evSkipLocalClass.kt:12
|
||||
package evSkipLocalClass
|
||||
|
||||
class A {
|
||||
var prop = 1
|
||||
}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val a1 = A()
|
||||
val a2 = A()
|
||||
|
||||
//Breakpoint!
|
||||
foo(a1.prop)
|
||||
class B {
|
||||
fun bar() {
|
||||
foo(a2.prop)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun foo(i: Int) {}
|
||||
|
||||
// PRINT_FRAME
|
||||
Compile bytecode for a1.prop
|
||||
frame = main:12, EvSkipLocalClassKt {evSkipLocalClass}
|
||||
local = args: java.lang.String[] = {java.lang.String[0]@uniqueID} (sp = evSkipLocalClass.kt, 7)
|
||||
local = a1: evSkipLocalClass.A = {evSkipLocalClass.A@uniqueID} (sp = evSkipLocalClass.kt, 8)
|
||||
field = prop: int = 1 (sp = evSkipLocalClass.kt, 4)
|
||||
local = a2: evSkipLocalClass.A = {evSkipLocalClass.A@uniqueID} (sp = evSkipLocalClass.kt, 9)
|
||||
field = prop: int = 1 (sp = evSkipLocalClass.kt, 4)
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
LineBreakpoint created at extractLocalVariables.kt:7
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
extractLocalVariables.kt:7
|
||||
Compile bytecode for a
|
||||
Compile bytecode for klass.f1(1)
|
||||
Compile bytecode for args.size
|
||||
Compile bytecode for klass.b
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
@@ -0,0 +1,10 @@
|
||||
LineBreakpoint created at extractThis.kt:13
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
extractThis.kt:13
|
||||
Compile bytecode for prop
|
||||
Compile bytecode for this.prop
|
||||
Compile bytecode for prop + a
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
LineBreakpoint created at extractThisInTrait.kt:10
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
extractThisInTrait.kt:10
|
||||
Compile bytecode for prop
|
||||
Compile bytecode for this.prop
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
LineBreakpoint created at extractVariablesFromCall.kt:8
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
extractVariablesFromCall.kt:8
|
||||
Compile bytecode for f1(a, s)
|
||||
Compile bytecode for a.f2(s)
|
||||
Compile bytecode for a f2 s
|
||||
Compile bytecode for klass.f1(a, s)
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
LineBreakpoint created at fileWithInternal.kt:5
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
fileWithInternal.kt:5
|
||||
Compile bytecode for 1
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
LineBreakpoint created at catchVariable.kt:9
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
catchVariable.kt:9
|
||||
package catchVariable
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
try {
|
||||
throw Exception()
|
||||
|
||||
}
|
||||
//Breakpoint!
|
||||
catch (e: Exception) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
// PRINT_FRAME
|
||||
frame = main:9, CatchVariableKt {catchVariable}
|
||||
local = args: java.lang.String[] = {java.lang.String[0]@uniqueID} (sp = catchVariable.kt, 3)
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
Vendored
+47
@@ -0,0 +1,47 @@
|
||||
LineBreakpoint created at delegatedPropertyInClass.kt:9
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
delegatedPropertyInClass.kt:9
|
||||
package delegatedPropertyInClass
|
||||
|
||||
import kotlin.properties.Delegates
|
||||
import kotlin.reflect.KProperty
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val a = A()
|
||||
//Breakpoint!
|
||||
args.size
|
||||
}
|
||||
|
||||
class A {
|
||||
val prop by MyDelegate()
|
||||
val propEx by MyDelegateThrowsException()
|
||||
}
|
||||
|
||||
class MyDelegate {
|
||||
operator fun getValue(t: Any?, p: KProperty<*>): Int = 1
|
||||
}
|
||||
|
||||
class MyDelegateThrowsException {
|
||||
operator fun getValue(t: Any?, p: KProperty<*>): Int = throw IllegalStateException()
|
||||
}
|
||||
|
||||
// PRINT_FRAME
|
||||
// SKIP: suppressedExceptions
|
||||
// SKIP: stackTrace
|
||||
|
||||
Compile bytecode for args.size
|
||||
frame = main:9, DelegatedPropertyInClassKt {delegatedPropertyInClass}
|
||||
local = args: java.lang.String[] = {java.lang.String[0]@uniqueID} (sp = delegatedPropertyInClass.kt, 6)
|
||||
local = a: delegatedPropertyInClass.A = {delegatedPropertyInClass.A@uniqueID} (sp = delegatedPropertyInClass.kt, 7)
|
||||
field = prop$delegate: delegatedPropertyInClass.MyDelegate = {delegatedPropertyInClass.MyDelegate@uniqueID} (sp = delegatedPropertyInClass.kt, 13)
|
||||
- Class has no fields
|
||||
field = prop: int = 1 (sp = delegatedPropertyInClass.kt, 13)
|
||||
field = propEx$delegate: delegatedPropertyInClass.MyDelegateThrowsException = {delegatedPropertyInClass.MyDelegateThrowsException@uniqueID} (sp = delegatedPropertyInClass.kt, 14)
|
||||
- Class has no fields
|
||||
field = propEx: int = {java.lang.IllegalStateException@uniqueID}java.lang.IllegalStateException (sp = delegatedPropertyInClass.kt, 14)
|
||||
field = detailMessage: java.lang.String = null (sp = Throwable.!EXT!)
|
||||
field = cause: java.lang.Throwable = {java.lang.IllegalStateException@uniqueID}java.lang.IllegalStateException (sp = Throwable.!EXT!)
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+36
@@ -0,0 +1,36 @@
|
||||
LineBreakpoint created at delegatedPropertyInClassWithToString.kt:8
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
delegatedPropertyInClassWithToString.kt:8
|
||||
package delegatedPropertyInClassWithToString
|
||||
|
||||
import kotlin.reflect.KProperty
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val a = A()
|
||||
//Breakpoint!
|
||||
args.size
|
||||
}
|
||||
|
||||
class A {
|
||||
val prop by MyDelegate()
|
||||
|
||||
override fun toString(): String = "KotlinTest"
|
||||
}
|
||||
|
||||
class MyDelegate {
|
||||
operator fun getValue(t: Any?, p: KProperty<*>): Int = 1
|
||||
}
|
||||
|
||||
// PRINT_FRAME
|
||||
|
||||
Compile bytecode for args.size
|
||||
frame = main:8, DelegatedPropertyInClassWithToStringKt {delegatedPropertyInClassWithToString}
|
||||
local = args: java.lang.String[] = {java.lang.String[0]@uniqueID} (sp = delegatedPropertyInClassWithToString.kt, 5)
|
||||
local = a: delegatedPropertyInClassWithToString.A = {delegatedPropertyInClassWithToString.A@uniqueID}KotlinTest (sp = delegatedPropertyInClassWithToString.kt, 6)
|
||||
field = prop$delegate: delegatedPropertyInClassWithToString.MyDelegate = {delegatedPropertyInClassWithToString.MyDelegate@uniqueID} (sp = delegatedPropertyInClassWithToString.kt, 12)
|
||||
- Class has no fields
|
||||
field = prop: int = 1 (sp = delegatedPropertyInClassWithToString.kt, 12)
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
LineBreakpoint created at delegatedPropertyInClassWoRenderer.kt:9
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
delegatedPropertyInClassWoRenderer.kt:9
|
||||
package delegatedPropertyInClassWoRenderer
|
||||
|
||||
import kotlin.properties.Delegates
|
||||
import kotlin.reflect.KProperty
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val a = A()
|
||||
//Breakpoint!
|
||||
args.size
|
||||
}
|
||||
|
||||
class A {
|
||||
val prop by MyDelegate()
|
||||
}
|
||||
|
||||
class MyDelegate {
|
||||
operator fun getValue(t: Any?, p: KProperty<*>): Int = 1
|
||||
}
|
||||
|
||||
// RENDER_DELEGATED_PROPERTIES: false
|
||||
// PRINT_FRAME
|
||||
|
||||
Compile bytecode for args.size
|
||||
frame = main:9, DelegatedPropertyInClassWoRendererKt {delegatedPropertyInClassWoRenderer}
|
||||
local = args: java.lang.String[] = {java.lang.String[0]@uniqueID} (sp = delegatedPropertyInClassWoRenderer.kt, 6)
|
||||
local = a: delegatedPropertyInClassWoRenderer.A = {delegatedPropertyInClassWoRenderer.A@uniqueID} (sp = delegatedPropertyInClassWoRenderer.kt, 7)
|
||||
field = prop: int = {delegatedPropertyInClassWoRenderer.MyDelegate@uniqueID} (sp = delegatedPropertyInClassWoRenderer.kt, 13)
|
||||
- Class has no fields
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
Vendored
+36
@@ -0,0 +1,36 @@
|
||||
LineBreakpoint created at frameAnonymousObject.kt:11
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
frameAnonymousObject.kt:11
|
||||
package frameAnonymousObject
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val val1 = 1
|
||||
val o = object {
|
||||
val obProp = 1
|
||||
|
||||
fun run() {
|
||||
foo {
|
||||
//Breakpoint!
|
||||
val1 + obProp
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
o.run()
|
||||
}
|
||||
|
||||
fun foo(f: () -> Unit) {
|
||||
f()
|
||||
}
|
||||
|
||||
// PRINT_FRAME
|
||||
frame = invoke:11, FrameAnonymousObjectKt$main$o$1$run$1 {frameAnonymousObject}
|
||||
this = this = {frameAnonymousObject.FrameAnonymousObjectKt$main$o$1$run$1@uniqueID}Function0<kotlin.Unit>
|
||||
field = this$0: frameAnonymousObject.FrameAnonymousObjectKt$main$o$1 = {frameAnonymousObject.FrameAnonymousObjectKt$main$o$1@uniqueID} (sp = null)
|
||||
field = obProp: int = 1 (sp = frameAnonymousObject.kt, 6)
|
||||
field = $val1: int = 1 (sp = null)
|
||||
field = arity: int = 0 (sp = Lambda.!EXT!)
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+43
@@ -0,0 +1,43 @@
|
||||
LineBreakpoint created at frameClassObject.kt:16
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
frameClassObject.kt:16
|
||||
Compile bytecode for prop
|
||||
Compile bytecode for myFun()
|
||||
package frameClassObject
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
A().test()
|
||||
}
|
||||
|
||||
class A {
|
||||
companion object {
|
||||
val prop = 1
|
||||
fun myFun() = 1
|
||||
}
|
||||
|
||||
fun test() {
|
||||
foo {
|
||||
//Breakpoint!
|
||||
prop
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun foo(f: () -> Unit) {
|
||||
f()
|
||||
}
|
||||
|
||||
// PRINT_FRAME
|
||||
|
||||
// EXPRESSION: prop
|
||||
// RESULT: 1: I
|
||||
|
||||
// EXPRESSION: myFun()
|
||||
// RESULT: 1: I
|
||||
frame = invoke:16, A$test$1 {frameClassObject}
|
||||
this = this = {frameClassObject.A$test$1@uniqueID}Function0<kotlin.Unit>
|
||||
field = arity: int = 0 (sp = Lambda.!EXT!)
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
LineBreakpoint created at frameClosingBracket.kt:6
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
frameClosingBracket.kt:6
|
||||
Compile bytecode for a
|
||||
package frameClosingBracket
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val a = 1
|
||||
//Breakpoint!
|
||||
}
|
||||
|
||||
// PRINT_FRAME
|
||||
// EXPRESSION: a
|
||||
// RESULT: 1: I
|
||||
|
||||
frame = main:6, FrameClosingBracketKt {frameClosingBracket}
|
||||
local = args: java.lang.String[] = {java.lang.String[0]@uniqueID} (sp = frameClosingBracket.kt, 3)
|
||||
local = a: int = 1 (sp = frameClosingBracket.kt, 4)
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+101
@@ -0,0 +1,101 @@
|
||||
LineBreakpoint created at frameExtFunExtFun.kt:24
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
frameExtFunExtFun.kt:24
|
||||
Compile bytecode for valFoo
|
||||
Compile bytecode for valTest
|
||||
Compile bytecode for aProp
|
||||
Compile bytecode for outerProp
|
||||
Compile bytecode for bProp
|
||||
Compile bytecode for aMyFun()
|
||||
Compile bytecode for outerMyFun()
|
||||
Compile bytecode for bMyFun()
|
||||
package frameExtFunExtFun
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
Outer().run()
|
||||
}
|
||||
|
||||
class A {
|
||||
val aProp = 1
|
||||
fun aMyFun() = 1
|
||||
}
|
||||
|
||||
class Outer {
|
||||
val outerProp = 1
|
||||
fun outerMyFun() = 1
|
||||
|
||||
fun A.foo() {
|
||||
val valFoo = 1
|
||||
class LocalClass {
|
||||
val lcProp = 1
|
||||
fun B.test() {
|
||||
val valTest = 1
|
||||
lambda {
|
||||
//Breakpoint!
|
||||
outerProp + aProp + lcProp + bProp + valFoo + valTest
|
||||
}
|
||||
}
|
||||
fun run() {
|
||||
B().test()
|
||||
}
|
||||
}
|
||||
|
||||
LocalClass().run()
|
||||
}
|
||||
|
||||
fun run() {
|
||||
A().foo()
|
||||
}
|
||||
}
|
||||
|
||||
class B {
|
||||
val bProp = 1
|
||||
fun bMyFun() = 1
|
||||
}
|
||||
|
||||
fun lambda(f: () -> Unit) {
|
||||
f()
|
||||
}
|
||||
|
||||
// PRINT_FRAME
|
||||
|
||||
// EXPRESSION: valFoo
|
||||
// RESULT: 1: I
|
||||
|
||||
// EXPRESSION: valTest
|
||||
// RESULT: 1: I
|
||||
|
||||
// EXPRESSION: aProp
|
||||
// RESULT: 1: I
|
||||
|
||||
// EXPRESSION: outerProp
|
||||
// RESULT: 1: I
|
||||
|
||||
// EXPRESSION: bProp
|
||||
// RESULT: 1: I
|
||||
|
||||
// EXPRESSION: aMyFun()
|
||||
// RESULT: 1: I
|
||||
|
||||
// EXPRESSION: outerMyFun()
|
||||
// RESULT: 1: I
|
||||
|
||||
// EXPRESSION: bMyFun()
|
||||
// RESULT: 1: I
|
||||
frame = invoke:24, Outer$foo$LocalClass$test$1 {frameExtFunExtFun}
|
||||
this = this = {frameExtFunExtFun.Outer$foo$LocalClass$test$1@uniqueID}Function0<kotlin.Unit>
|
||||
field = this$0: frameExtFunExtFun.Outer$foo$LocalClass = {frameExtFunExtFun.Outer$foo$LocalClass@uniqueID} (sp = null)
|
||||
field = lcProp: int = 1 (sp = frameExtFunExtFun.kt, 19)
|
||||
field = this$0: frameExtFunExtFun.Outer = {frameExtFunExtFun.Outer@uniqueID} (sp = null)
|
||||
field = outerProp: int = 1 (sp = frameExtFunExtFun.kt, 13)
|
||||
field = receiver$0: frameExtFunExtFun.A = {frameExtFunExtFun.A@uniqueID} (sp = null)
|
||||
field = aProp: int = 1 (sp = frameExtFunExtFun.kt, 8)
|
||||
field = $valFoo: int = 1 (sp = null)
|
||||
field = receiver$0: frameExtFunExtFun.B = {frameExtFunExtFun.B@uniqueID} (sp = null)
|
||||
field = bProp: int = 1 (sp = frameExtFunExtFun.kt, 41)
|
||||
field = $valTest: int = 1 (sp = null)
|
||||
field = arity: int = 0 (sp = Lambda.!EXT!)
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
LineBreakpoint created at frameExtensionFun.kt:14
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
frameExtensionFun.kt:14
|
||||
Compile bytecode for prop
|
||||
Compile bytecode for myFun()
|
||||
package frameExtensionFun
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
A().foo()
|
||||
}
|
||||
|
||||
class A {
|
||||
val prop = 1
|
||||
fun myFun() = 1
|
||||
}
|
||||
|
||||
fun A.foo() {
|
||||
//Breakpoint!
|
||||
prop
|
||||
}
|
||||
|
||||
// PRINT_FRAME
|
||||
|
||||
// EXPRESSION: prop
|
||||
// RESULT: 1: I
|
||||
|
||||
// EXPRESSION: myFun()
|
||||
// RESULT: 1: I
|
||||
frame = foo:14, FrameExtensionFunKt {frameExtensionFun}
|
||||
local = $receiver: frameExtensionFun.A = {frameExtensionFun.A@uniqueID} (sp = null)
|
||||
field = prop: int = 1 (sp = frameExtensionFun.kt, 8)
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+39
@@ -0,0 +1,39 @@
|
||||
LineBreakpoint created at frameInlineArgument.kt:7
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
frameInlineArgument.kt:7
|
||||
Compile bytecode for element
|
||||
package frameInlineArgument
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val element = 1
|
||||
A().inlineFun {
|
||||
//Breakpoint!
|
||||
element
|
||||
}
|
||||
}
|
||||
|
||||
class A {
|
||||
inline fun inlineFun(s: () -> Unit) {
|
||||
val element = 1.0
|
||||
s()
|
||||
}
|
||||
|
||||
val prop = 1
|
||||
}
|
||||
|
||||
// PRINT_FRAME
|
||||
|
||||
// EXPRESSION: element
|
||||
// RESULT: 1: I
|
||||
|
||||
|
||||
frame = main:7, FrameInlineArgumentKt {frameInlineArgument}
|
||||
local = args: java.lang.String[] = {java.lang.String[0]@uniqueID} (sp = frameInlineArgument.kt, 3)
|
||||
local = element: int = 1 (sp = frameInlineArgument.kt, 4)
|
||||
local = this_$iv: frameInlineArgument.A = {frameInlineArgument.A@uniqueID} (sp = null)
|
||||
field = prop: int = 1 (sp = frameInlineArgument.kt, 17)
|
||||
local = element$iv: double = 1.0 (sp = frameInlineArgument.kt, 4)
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+57
@@ -0,0 +1,57 @@
|
||||
LineBreakpoint created at frameInlineArgumentInsideInlineFun.kt:16
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
frameInlineArgumentInsideInlineFun.kt:16
|
||||
Compile bytecode for element
|
||||
// KT-10674: Debugger: Evaluate Expression / Watches fail for variable/parameter captured from one inline function to another
|
||||
package frameInlineArgumentInsideInlineFun
|
||||
|
||||
class A {
|
||||
inline fun inlineFun(s: (Int) -> Unit) {
|
||||
val element = 1.0
|
||||
s(1)
|
||||
}
|
||||
}
|
||||
|
||||
class B {
|
||||
inline fun foo(s: (Int) -> Unit) {
|
||||
val element = 1
|
||||
A().inlineFun {
|
||||
//Breakpoint!
|
||||
val e = element
|
||||
}
|
||||
s(1)
|
||||
}
|
||||
}
|
||||
|
||||
class C {
|
||||
fun bar() {
|
||||
val element = 1f
|
||||
B().foo {
|
||||
val e = element
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
C().bar()
|
||||
}
|
||||
|
||||
// PRINT_FRAME
|
||||
|
||||
// EXPRESSION: element
|
||||
// RESULT: 1: I
|
||||
frame = bar:16, C {frameInlineArgumentInsideInlineFun}
|
||||
this = this = {frameInlineArgumentInsideInlineFun.C@uniqueID}
|
||||
- Class has no fields
|
||||
local = element: float = 1.0 (sp = frameInlineArgumentInsideInlineFun.kt, 13)
|
||||
local = this_$iv: frameInlineArgumentInsideInlineFun.B = {frameInlineArgumentInsideInlineFun.B@uniqueID} (sp = null)
|
||||
- Class has no fields
|
||||
local = element$iv: int = 1 (sp = frameInlineArgumentInsideInlineFun.kt, 13)
|
||||
local = this_$iv$iv: frameInlineArgumentInsideInlineFun.A = {frameInlineArgumentInsideInlineFun.A@uniqueID} (sp = null)
|
||||
- Class has no fields
|
||||
local = element$iv$iv: double = 1.0 (sp = frameInlineArgumentInsideInlineFun.kt, 13)
|
||||
local = it$iv: int = 1 (sp = null)
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+43
@@ -0,0 +1,43 @@
|
||||
LineBreakpoint created at frameInlineFun.kt:14
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
frameInlineFun.kt:14
|
||||
Compile bytecode for element
|
||||
Compile bytecode for this.prop
|
||||
package frameInlineFun
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val element = 1
|
||||
A().inlineFun {
|
||||
element
|
||||
}
|
||||
}
|
||||
|
||||
class A {
|
||||
inline fun inlineFun(s: (Int) -> Unit) {
|
||||
val element = 1.0
|
||||
//Breakpoint!
|
||||
s(1)
|
||||
}
|
||||
|
||||
val prop = 1
|
||||
}
|
||||
|
||||
// PRINT_FRAME
|
||||
|
||||
// EXPRESSION: element
|
||||
// RESULT: 1.0: D
|
||||
|
||||
// EXPRESSION: this.prop
|
||||
// RESULT: 1: I
|
||||
|
||||
|
||||
frame = main:14, FrameInlineFunKt {frameInlineFun}
|
||||
local = args: java.lang.String[] = {java.lang.String[0]@uniqueID} (sp = null)
|
||||
local = element: int = 1 (sp = frameInlineFun.kt, 12)
|
||||
local = this_$iv: frameInlineFun.A = {frameInlineFun.A@uniqueID} (sp = null)
|
||||
field = prop: int = 1 (sp = frameInlineFun.kt, 17)
|
||||
local = element$iv: double = 1.0 (sp = frameInlineFun.kt, 12)
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+71
@@ -0,0 +1,71 @@
|
||||
LineBreakpoint created at frameInlineFunCallInsideInlineFun.kt:20
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
frameInlineFunCallInsideInlineFun.kt:20
|
||||
frameInlineFunCallInsideInlineFun.kt:5
|
||||
frameInlineFunCallInsideInlineFun.kt:7
|
||||
Compile bytecode for element
|
||||
Compile bytecode for this.prop
|
||||
package frameInlineFunCallInsideInlineFun
|
||||
|
||||
class A {
|
||||
inline fun inlineFun(s: (Int) -> Unit) {
|
||||
val element = 1.0
|
||||
//TODO breakpoint here doesn't work (not only in tests)
|
||||
s(1)
|
||||
}
|
||||
|
||||
val prop = 1
|
||||
}
|
||||
|
||||
class B {
|
||||
inline fun foo(s: (Int) -> Unit) {
|
||||
val element = 2
|
||||
val a = A()
|
||||
// STEP_INTO: 1
|
||||
// STEP_OVER: 1
|
||||
//Breakpoint!
|
||||
a.inlineFun {
|
||||
val e = element
|
||||
}
|
||||
s(1)
|
||||
}
|
||||
}
|
||||
|
||||
class C {
|
||||
fun bar() {
|
||||
val element = 1f
|
||||
B().foo {
|
||||
val e = element
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
C().bar()
|
||||
}
|
||||
|
||||
// PRINT_FRAME
|
||||
|
||||
// EXPRESSION: element
|
||||
// RESULT: 1.0: D
|
||||
|
||||
// EXPRESSION: this.prop
|
||||
// RESULT: 1: I
|
||||
|
||||
|
||||
frame = bar:7, C {frameInlineFunCallInsideInlineFun}
|
||||
this = this = {frameInlineFunCallInsideInlineFun.C@uniqueID}
|
||||
- Class has no fields
|
||||
local = element: float = 1.0 (sp = frameInlineFunCallInsideInlineFun.kt, 5)
|
||||
local = this_$iv: frameInlineFunCallInsideInlineFun.B = {frameInlineFunCallInsideInlineFun.B@uniqueID} (sp = null)
|
||||
- Class has no fields
|
||||
local = element$iv: int = 2 (sp = frameInlineFunCallInsideInlineFun.kt, 5)
|
||||
local = a$iv: frameInlineFunCallInsideInlineFun.A = {frameInlineFunCallInsideInlineFun.A@uniqueID} (sp = null)
|
||||
field = prop: int = 1 (sp = frameInlineFunCallInsideInlineFun.kt, 10)
|
||||
local = this_$iv$iv: frameInlineFunCallInsideInlineFun.A = {frameInlineFunCallInsideInlineFun.A@uniqueID} (sp = null)
|
||||
field = prop: int = 1 (sp = frameInlineFunCallInsideInlineFun.kt, 10)
|
||||
local = element$iv$iv: double = 1.0 (sp = frameInlineFunCallInsideInlineFun.kt, 5)
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+50
@@ -0,0 +1,50 @@
|
||||
LineBreakpoint created at frameInnerClass.kt:17
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
frameInnerClass.kt:17
|
||||
Compile bytecode for prop1
|
||||
Compile bytecode for prop2
|
||||
Compile bytecode for myFun1()
|
||||
Compile bytecode for myFun2()
|
||||
package frameInnerClass
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
A().Inner().test()
|
||||
}
|
||||
|
||||
class A {
|
||||
val prop1 = 1
|
||||
fun myFun1() = 1
|
||||
|
||||
inner class Inner {
|
||||
val prop2 = 1
|
||||
fun myFun2() = 1
|
||||
|
||||
fun test() {
|
||||
//Breakpoint!
|
||||
prop1 + prop2
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// PRINT_FRAME
|
||||
|
||||
// EXPRESSION: prop1
|
||||
// RESULT: 1: I
|
||||
|
||||
// EXPRESSION: prop2
|
||||
// RESULT: 1: I
|
||||
|
||||
// EXPRESSION: myFun1()
|
||||
// RESULT: 1: I
|
||||
|
||||
// EXPRESSION: myFun2()
|
||||
// RESULT: 1: I
|
||||
frame = test:17, A$Inner {frameInnerClass}
|
||||
this = this = {frameInnerClass.A$Inner@uniqueID}
|
||||
field = prop2: int = 1 (sp = frameInnerClass.kt, 12)
|
||||
field = this$0: frameInnerClass.A = {frameInnerClass.A@uniqueID} (sp = null)
|
||||
field = prop1: int = 1 (sp = frameInnerClass.kt, 8)
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+44
@@ -0,0 +1,44 @@
|
||||
LineBreakpoint created at frameInnerLambda.kt:9
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
frameInnerLambda.kt:9
|
||||
Compile bytecode for val1
|
||||
Compile bytecode for val2
|
||||
Compile bytecode for val1 + val2
|
||||
package frameInnerLambda
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val val1 = 1
|
||||
foo {
|
||||
val val2 = 1
|
||||
foo {
|
||||
//Breakpoint!
|
||||
val1 + val2
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun foo(f: () -> Unit) {
|
||||
f()
|
||||
}
|
||||
|
||||
// PRINT_FRAME
|
||||
|
||||
// EXPRESSION: val1
|
||||
// RESULT: 1: I
|
||||
|
||||
// EXPRESSION: val2
|
||||
// RESULT: 1: I
|
||||
|
||||
// EXPRESSION: val1 + val2
|
||||
// RESULT: 2: I
|
||||
frame = invoke:9, FrameInnerLambdaKt$main$1$1 {frameInnerLambda}
|
||||
this = this = {frameInnerLambda.FrameInnerLambdaKt$main$1$1@uniqueID}Function0<kotlin.Unit>
|
||||
field = this$0: frameInnerLambda.FrameInnerLambdaKt$main$1 = {frameInnerLambda.FrameInnerLambdaKt$main$1@uniqueID}Function0<kotlin.Unit> (sp = null)
|
||||
field = $val1: int = 1 (sp = null)
|
||||
field = arity: int = 0 (sp = Lambda.!EXT!)
|
||||
field = $val2: int = 1 (sp = null)
|
||||
field = arity: int = 0 (sp = Lambda.!EXT!)
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+30
@@ -0,0 +1,30 @@
|
||||
LineBreakpoint created at frameLambda.kt:7
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
frameLambda.kt:7
|
||||
Compile bytecode for val1
|
||||
package frameLambda
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val val1 = 1
|
||||
foo {
|
||||
//Breakpoint!
|
||||
val1
|
||||
}
|
||||
}
|
||||
|
||||
fun foo(f: () -> Unit) {
|
||||
f()
|
||||
}
|
||||
|
||||
// PRINT_FRAME
|
||||
|
||||
// EXPRESSION: val1
|
||||
// RESULT: 1: I
|
||||
frame = invoke:7, FrameLambdaKt$main$1 {frameLambda}
|
||||
this = this = {frameLambda.FrameLambdaKt$main$1@uniqueID}Function0<kotlin.Unit>
|
||||
field = $val1: int = 1 (sp = null)
|
||||
field = arity: int = 0 (sp = Lambda.!EXT!)
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+29
@@ -0,0 +1,29 @@
|
||||
LineBreakpoint created at frameLambdaNotUsed.kt:7
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
frameLambdaNotUsed.kt:7
|
||||
Compile bytecode for val1
|
||||
package frameLambdaNotUsed
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val val1 = 1
|
||||
foo {
|
||||
//Breakpoint!
|
||||
val a = 1
|
||||
}
|
||||
}
|
||||
|
||||
fun foo(f: () -> Unit) {
|
||||
f()
|
||||
}
|
||||
|
||||
// PRINT_FRAME
|
||||
|
||||
// EXPRESSION: val1
|
||||
// RESULT: Cannot find local variable: name = val1
|
||||
frame = invoke:7, FrameLambdaNotUsedKt$main$1 {frameLambdaNotUsed}
|
||||
this = this = {frameLambdaNotUsed.FrameLambdaNotUsedKt$main$1@uniqueID}Function0<kotlin.Unit>
|
||||
field = arity: int = 0 (sp = Lambda.!EXT!)
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
LineBreakpoint created at frameLocalVariable.kt:6
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
frameLocalVariable.kt:6
|
||||
package frameLocalVariable
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val val1 = 1
|
||||
//Breakpoint!
|
||||
val val2 = 1
|
||||
}
|
||||
|
||||
// PRINT_FRAME
|
||||
frame = main:6, FrameLocalVariableKt {frameLocalVariable}
|
||||
local = args: java.lang.String[] = {java.lang.String[0]@uniqueID} (sp = frameLocalVariable.kt, 3)
|
||||
local = val1: int = 1 (sp = frameLocalVariable.kt, 4)
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
LineBreakpoint created at frameObject.kt:6
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
frameObject.kt:6
|
||||
Compile bytecode for O.obProp
|
||||
Compile bytecode for O.obMyFun()
|
||||
package frameObject
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
foo {
|
||||
//Breakpoint!
|
||||
O.obProp
|
||||
}
|
||||
}
|
||||
|
||||
object O {
|
||||
val obProp = 1
|
||||
fun obMyFun() = 1
|
||||
}
|
||||
|
||||
fun foo(f: () -> Unit) {
|
||||
f()
|
||||
}
|
||||
|
||||
// PRINT_FRAME
|
||||
|
||||
// EXPRESSION: O.obProp
|
||||
// RESULT: 1: I
|
||||
|
||||
// EXPRESSION: O.obMyFun()
|
||||
// RESULT: 1: I
|
||||
frame = invoke:6, FrameObjectKt$main$1 {frameObject}
|
||||
this = this = {frameObject.FrameObjectKt$main$1@uniqueID}Function0<kotlin.Unit>
|
||||
field = arity: int = 0 (sp = Lambda.!EXT!)
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
LineBreakpoint created at frameSharedVar.kt:7
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
frameSharedVar.kt:7
|
||||
Compile bytecode for var1
|
||||
package frameSharedVar
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
var var1 = 1
|
||||
foo {
|
||||
//Breakpoint!
|
||||
var1 = 2
|
||||
}
|
||||
}
|
||||
|
||||
fun foo(f: () -> Unit) {
|
||||
f()
|
||||
}
|
||||
|
||||
// PRINT_FRAME
|
||||
|
||||
// EXPRESSION: var1
|
||||
// RESULT: 1: I
|
||||
frame = invoke:7, FrameSharedVarKt$main$1 {frameSharedVar}
|
||||
this = this = {frameSharedVar.FrameSharedVarKt$main$1@uniqueID}Function0<kotlin.Unit>
|
||||
field = $var1: kotlin.jvm.internal.Ref$IntRef = {kotlin.jvm.internal.Ref$IntRef@uniqueID}1 (sp = null)
|
||||
field = element: int = 1 (sp = Ref.!EXT!)
|
||||
field = arity: int = 0 (sp = Lambda.!EXT!)
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
Vendored
+29
@@ -0,0 +1,29 @@
|
||||
LineBreakpoint created at frameSharedVarLocalVar.kt:7
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
frameSharedVarLocalVar.kt:7
|
||||
Compile bytecode for var1
|
||||
package frameSharedVarLocalVar
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
var var1 = 1
|
||||
foo {
|
||||
//Breakpoint!
|
||||
var1 = 2
|
||||
}
|
||||
}
|
||||
|
||||
inline fun foo(f: () -> Unit) {
|
||||
f()
|
||||
}
|
||||
|
||||
// PRINT_FRAME
|
||||
|
||||
// EXPRESSION: var1
|
||||
// RESULT: 1: I
|
||||
frame = main:7, FrameSharedVarLocalVarKt {frameSharedVarLocalVar}
|
||||
local = args: java.lang.String[] = {java.lang.String[0]@uniqueID} (sp = frameSharedVarLocalVar.kt, 3)
|
||||
local = var1: int = 1 (sp = frameSharedVarLocalVar.kt, 4)
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+44
@@ -0,0 +1,44 @@
|
||||
LineBreakpoint created at frameSimple.kt:9
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
frameSimple.kt:9
|
||||
Compile bytecode for val1
|
||||
Compile bytecode for val2
|
||||
Compile bytecode for topVal1
|
||||
Compile bytecode for val1 + topVal1
|
||||
package frameSimple
|
||||
|
||||
val topVal1 = 1
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val val1 = 1
|
||||
val val2 = MyClass()
|
||||
//Breakpoint!
|
||||
val1 + topVal1
|
||||
}
|
||||
|
||||
class MyClass
|
||||
|
||||
// PRINT_FRAME
|
||||
|
||||
// EXPRESSION: val1
|
||||
// RESULT: 1: I
|
||||
|
||||
// EXPRESSION: val2
|
||||
// RESULT: instance of frameSimple.MyClass(id=ID): LframeSimple/MyClass;
|
||||
|
||||
// EXPRESSION: topVal1
|
||||
// RESULT: 1: I
|
||||
|
||||
// EXPRESSION: val1 + topVal1
|
||||
// RESULT: 2: I
|
||||
frame = main:9, FrameSimpleKt {frameSimple}
|
||||
static = static = frameSimple.FrameSimpleKt
|
||||
field = topVal1: int = 1 (sp = frameSimple.kt, 3)
|
||||
local = args: java.lang.String[] = {java.lang.String[0]@uniqueID} (sp = frameSimple.kt, 5)
|
||||
local = val1: int = 1 (sp = frameSimple.kt, 6)
|
||||
local = val2: frameSimple.MyClass = {frameSimple.MyClass@uniqueID} (sp = frameSimple.kt, 7)
|
||||
- Class has no fields
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+59
@@ -0,0 +1,59 @@
|
||||
LineBreakpoint created at frameThis0.kt:16
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
frameThis0.kt:16
|
||||
Compile bytecode for val1
|
||||
Compile bytecode for val2
|
||||
Compile bytecode for prop1
|
||||
Compile bytecode for prop1 + val1 + val2
|
||||
Compile bytecode for myFun()
|
||||
package frameThis0
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
A().test()
|
||||
}
|
||||
|
||||
class A {
|
||||
val prop1 = 1
|
||||
fun myFun() = 1
|
||||
|
||||
fun test() {
|
||||
val val1 = 1
|
||||
foo {
|
||||
val val2 = 1
|
||||
//Breakpoint!
|
||||
prop1 + val1 + val2
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun foo(f: () -> Unit) {
|
||||
f()
|
||||
}
|
||||
|
||||
// PRINT_FRAME
|
||||
|
||||
// EXPRESSION: val1
|
||||
// RESULT: 1: I
|
||||
|
||||
// EXPRESSION: val2
|
||||
// RESULT: 1: I
|
||||
|
||||
// EXPRESSION: prop1
|
||||
// RESULT: 1: I
|
||||
|
||||
// EXPRESSION: prop1 + val1 + val2
|
||||
// RESULT: 3: I
|
||||
|
||||
// EXPRESSION: myFun()
|
||||
// RESULT: 1: I
|
||||
frame = invoke:16, A$test$1 {frameThis0}
|
||||
this = this = {frameThis0.A$test$1@uniqueID}Function0<kotlin.Unit>
|
||||
field = this$0: frameThis0.A = {frameThis0.A@uniqueID} (sp = null)
|
||||
field = prop1: int = 1 (sp = frameThis0.kt, 8)
|
||||
field = $val1: int = 1 (sp = null)
|
||||
field = arity: int = 0 (sp = Lambda.!EXT!)
|
||||
local = val2: int = 1 (sp = frameThis0.kt, 14)
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+76
@@ -0,0 +1,76 @@
|
||||
LineBreakpoint created at frameThis0Ext.kt:15
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
frameThis0Ext.kt:15
|
||||
Compile bytecode for val1
|
||||
Compile bytecode for prop1
|
||||
Compile bytecode for prop2
|
||||
Compile bytecode for prop1 + val1
|
||||
Compile bytecode for prop2 + val1
|
||||
Compile bytecode for myFun1()
|
||||
Compile bytecode for myFun2()
|
||||
package frameThis0Ext
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
A().test()
|
||||
}
|
||||
|
||||
class A {
|
||||
val prop1 = 1
|
||||
fun myFun1() = 1
|
||||
|
||||
fun AExt.testExt() {
|
||||
val val1 = 1
|
||||
foo {
|
||||
//Breakpoint!
|
||||
prop1 + prop2 + val1
|
||||
}
|
||||
}
|
||||
|
||||
fun test() {
|
||||
AExt().testExt()
|
||||
}
|
||||
}
|
||||
|
||||
class AExt {
|
||||
val prop2 = 1
|
||||
fun myFun2() = 1
|
||||
}
|
||||
|
||||
fun foo(f: () -> Unit) {
|
||||
f()
|
||||
}
|
||||
|
||||
// PRINT_FRAME
|
||||
|
||||
// EXPRESSION: val1
|
||||
// RESULT: 1: I
|
||||
|
||||
// EXPRESSION: prop1
|
||||
// RESULT: 1: I
|
||||
|
||||
// EXPRESSION: prop2
|
||||
// RESULT: 1: I
|
||||
|
||||
// EXPRESSION: prop1 + val1
|
||||
// RESULT: 2: I
|
||||
|
||||
// EXPRESSION: prop2 + val1
|
||||
// RESULT: 2: I
|
||||
|
||||
// EXPRESSION: myFun1()
|
||||
// RESULT: 1: I
|
||||
|
||||
// EXPRESSION: myFun2()
|
||||
// RESULT: 1: I
|
||||
frame = invoke:15, A$testExt$1 {frameThis0Ext}
|
||||
this = this = {frameThis0Ext.A$testExt$1@uniqueID}Function0<kotlin.Unit>
|
||||
field = this$0: frameThis0Ext.A = {frameThis0Ext.A@uniqueID} (sp = null)
|
||||
field = prop1: int = 1 (sp = frameThis0Ext.kt, 8)
|
||||
field = receiver$0: frameThis0Ext.AExt = {frameThis0Ext.AExt@uniqueID} (sp = null)
|
||||
field = prop2: int = 1 (sp = frameThis0Ext.kt, 25)
|
||||
field = $val1: int = 1 (sp = null)
|
||||
field = arity: int = 0 (sp = Lambda.!EXT!)
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+63
@@ -0,0 +1,63 @@
|
||||
LineBreakpoint created at frameThis0This0.kt:17
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
frameThis0This0.kt:17
|
||||
Compile bytecode for val1
|
||||
Compile bytecode for val2
|
||||
Compile bytecode for prop1
|
||||
Compile bytecode for prop1 + val1 + val2
|
||||
Compile bytecode for myFun()
|
||||
package frameThis0This0
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
A().test()
|
||||
}
|
||||
|
||||
class A {
|
||||
val prop1 = 1
|
||||
fun myFun() = 1
|
||||
|
||||
fun test() {
|
||||
val val1 = 1
|
||||
foo {
|
||||
val val2 = 1
|
||||
foo {
|
||||
//Breakpoint!
|
||||
prop1 + val1 + val2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun foo(f: () -> Unit) {
|
||||
f()
|
||||
}
|
||||
|
||||
// PRINT_FRAME
|
||||
|
||||
// EXPRESSION: val1
|
||||
// RESULT: 1: I
|
||||
|
||||
// EXPRESSION: val2
|
||||
// RESULT: 1: I
|
||||
|
||||
// EXPRESSION: prop1
|
||||
// RESULT: 1: I
|
||||
|
||||
// EXPRESSION: prop1 + val1 + val2
|
||||
// RESULT: 3: I
|
||||
|
||||
// EXPRESSION: myFun()
|
||||
// RESULT: 1: I
|
||||
frame = invoke:17, A$test$1$1 {frameThis0This0}
|
||||
this = this = {frameThis0This0.A$test$1$1@uniqueID}Function0<kotlin.Unit>
|
||||
field = this$0: frameThis0This0.A$test$1 = {frameThis0This0.A$test$1@uniqueID}Function0<kotlin.Unit> (sp = null)
|
||||
field = this$0: frameThis0This0.A = {frameThis0This0.A@uniqueID} (sp = null)
|
||||
field = prop1: int = 1 (sp = frameThis0This0.kt, 8)
|
||||
field = $val1: int = 1 (sp = null)
|
||||
field = arity: int = 0 (sp = Lambda.!EXT!)
|
||||
field = $val2: int = 1 (sp = null)
|
||||
field = arity: int = 0 (sp = Lambda.!EXT!)
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
LineBreakpoint created at funFromSuperClass.kt:12
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
funFromSuperClass.kt:12
|
||||
Compile bytecode for foo()
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
LineBreakpoint created at genericCrossinlineArgument.kt:14
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
genericCrossinlineArgument.kt:14
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
@@ -0,0 +1,11 @@
|
||||
LineBreakpoint created at imports.kt:10
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
imports.kt:10
|
||||
Compile bytecode for Collections.emptyList<String>()
|
||||
Compile bytecode for ArrayList<Int>()
|
||||
Compile bytecode for HashSet<Int>()
|
||||
Compile bytecode for JHashMap<Int, Int>()
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
LineBreakpoint created at importsLambdaContext.kt:10 lambdaOrdinal = 1
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
importsLambdaContext.kt:10
|
||||
Compile bytecode for Collections.emptyList<String>()
|
||||
Compile bytecode for ArrayList<Int>()
|
||||
Compile bytecode for HashSet<Int>()
|
||||
Compile bytecode for JHashMap<Int, Int>()
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
LineBreakpoint created at inlineFunction.kt:7
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
inlineFunction.kt:7
|
||||
Compile bytecode for myFun { 1 }
|
||||
Compile bytecode for foo()
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/inlineFunctionBreakpointAnotherFile.out
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
LineBreakpoint created at inlineFunctionWithBreakpoint.kt:4
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
inlineFunctionWithBreakpoint.kt:4
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
LineBreakpoint created at inlineFunctionBreakpointVariants.kt:8 lambdaOrdinal = -1
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
inlineFunctionBreakpointVariants.kt:8
|
||||
inlineFunctionBreakpointVariants.kt:8
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user