LineBreakpoint created at frameThis0Ext.kt:15 !JDK_HOME!\bin\java -agentlib:jdwp=transport=dt_socket,address=!HOST_NAME!:!HOST_PORT!,suspend=y,server=n -Dfile.encoding=!FILE_ENCODING! -classpath !OUTPUT_PATH!;!KOTLIN_RUNTIME!;!CUSTOM_LIBRARY!;!RT_JAR! frameThis0Ext.FrameThis0ExtKt Connected to the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket' 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) { 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}kotlin.jvm.functions.Function0 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, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket' Process finished with exit code 0