84c473d800
Avoid calling InetAddress.getLocalHost() that can be very slow. Exact connection or disconnection string isn't relevant for tests anyway.
36 lines
705 B
Plaintext
Vendored
36 lines
705 B
Plaintext
Vendored
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
|