Files
kotlin-fork/idea/testData/debugger/tinyApp/outs/frameExtensionFun.out
T
Nikolay Krasko 84c473d800 Speed up debugger tests by replacing base output preprocessor
Avoid calling InetAddress.getLocalHost() that can be very slow.
Exact connection or disconnection string isn't relevant for tests
anyway.
2017-03-23 00:31:43 +03:00

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