59f192ef90
Includes changes to decompiled text Old syntax is used in builtins and project code for now
43 lines
1.1 KiB
Plaintext
43 lines
1.1 KiB
Plaintext
LineBreakpoint created at frameClassObject.kt:16
|
|
!JDK_HOME!\bin\java -agentlib:jdwp=transport=dt_socket,address=!HOST_NAME!:!HOST_PORT!,suspend=y,server=n -Dfile.encoding=!FILE_ENCODING! -classpath !APP_PATH!\classes;!KOTLIN_RUNTIME!;!CUSTOM_LIBRARY!;!RT_JAR! frameClassObject.FrameClassObjectPackage
|
|
Connected to the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
|
|
frameClassObject.kt:16
|
|
Compile bytecode for prop
|
|
Compile bytecode for myFun()
|
|
package frameClassObject
|
|
|
|
fun main(args: Array<String>) {
|
|
A().test()
|
|
}
|
|
|
|
class A {
|
|
default 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}kotlin.Function0<kotlin.Unit>
|
|
Disconnected from the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
|
|
|
|
Process finished with exit code 0
|