Move debugger test data to the new location

This commit is contained in:
Yan Zhulanow
2019-09-27 00:13:53 +09:00
parent b4cc5703de
commit d8d81c51d7
1423 changed files with 0 additions and 0 deletions
@@ -0,0 +1,18 @@
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
@@ -0,0 +1,17 @@
LineBreakpoint created at evBreakpointOnPropertyDeclaration.kt:14
Run Java
Connected to the target VM
evBreakpointOnPropertyDeclaration.kt:14
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
@@ -0,0 +1,17 @@
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
// RENDER_DELEGATED_PROPERTIES
@@ -0,0 +1,15 @@
LineBreakpoint created at evDelegatedProperty.kt:13
Run Java
Connected to the target VM
evDelegatedProperty.kt:13
Compile bytecode for a.prop
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
@@ -0,0 +1,13 @@
package evDuplicateItems
class A {
var prop = 1
}
fun main(args: Array<String>) {
val a = A()
//Breakpoint!
val b = a.prop + a.prop
}
// PRINT_FRAME
@@ -0,0 +1,12 @@
LineBreakpoint created at evDuplicateItems.kt:10
Run Java
Connected to the target VM
evDuplicateItems.kt:10
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
@@ -0,0 +1,13 @@
package evFinalProperty
class A {
val prop = 1
}
fun main(args: Array<String>) {
val a = A()
//Breakpoint!
val b = a.prop
}
// PRINT_FRAME
@@ -0,0 +1,11 @@
LineBreakpoint created at evFinalProperty.kt:10
Run Java
Connected to the target VM
evFinalProperty.kt:10
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
@@ -0,0 +1,12 @@
package evFunctionDeclaration
class A(val a: Int) {
//FunctionBreakpoint!
fun foo() = a
}
fun main(args: Array<String>) {
A(1).foo()
}
// PRINT_FRAME
@@ -0,0 +1,11 @@
FunctionBreakpoint created at evFunctionDeclaration.kt:5
Run Java
Connected to the target VM
evFunctionDeclaration.kt:5
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
@@ -0,0 +1,22 @@
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
@@ -0,0 +1,17 @@
LineBreakpoint created at evLineRange.kt:15
Run Java
Connected to the target VM
evLineRange.kt:15
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
@@ -0,0 +1,15 @@
package evProperty
class A {
var prop = 1
}
fun main(args: Array<String>) {
val a = A()
//Breakpoint!
if (a.prop == 1) {
}
}
// PRINT_FRAME
@@ -0,0 +1,12 @@
LineBreakpoint created at evProperty.kt:10
Run Java
Connected to the target VM
evProperty.kt:10
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
@@ -0,0 +1,18 @@
package evPropertyRefExpr
class A {
var prop = 1
fun test() {
//Breakpoint!
if (prop == 1) {
}
}
}
fun main(args: Array<String>) {
A().test()
}
// PRINT_FRAME
@@ -0,0 +1,11 @@
LineBreakpoint created at evPropertyRefExpr.kt:8
Run Java
Connected to the target VM
evPropertyRefExpr.kt:8
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
@@ -0,0 +1,26 @@
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
@@ -0,0 +1,14 @@
LineBreakpoint created at evSkipAnonymousObject.kt:12
Run Java
Connected to the target VM
evSkipAnonymousObject.kt:12
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
@@ -0,0 +1,21 @@
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
@@ -0,0 +1,14 @@
LineBreakpoint created at evSkipLambda.kt:12
Run Java
Connected to the target VM
evSkipLambda.kt:12
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
@@ -0,0 +1,22 @@
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
@@ -0,0 +1,14 @@
LineBreakpoint created at evSkipLocalClass.kt:12
Run Java
Connected to the target VM
evSkipLocalClass.kt:12
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