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) { 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 field = arity: int = 0 (sp = Lambda.!EXT!) Disconnected from the target VM Process finished with exit code 0