Files
kotlin-fork/idea/testData/debugger/tinyApp/outs/frameInlineFun.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

44 lines
1005 B
Plaintext
Vendored

LineBreakpoint created at frameInlineFun.kt:14
Run Java
Connected to the target VM
frameInlineFun.kt:14
Compile bytecode for element
Compile bytecode for this.prop
package frameInlineFun
fun main(args: Array<String>) {
val element = 1
A().inlineFun {
element
}
}
class A {
inline fun inlineFun(s: (Int) -> Unit) {
val element = 1.0
//Breakpoint!
s(1)
}
val prop = 1
}
// PRINT_FRAME
// EXPRESSION: element
// RESULT: 1.0: D
// EXPRESSION: this.prop
// RESULT: 1: I
frame = main:14, FrameInlineFunKt {frameInlineFun}
local = args: java.lang.String[] = {java.lang.String[0]@uniqueID} (sp = null)
local = element: int = 1 (sp = frameInlineFun.kt, 12)
local = this_$iv: frameInlineFun.A = {frameInlineFun.A@uniqueID} (sp = null)
field = prop: int = 1 (sp = frameInlineFun.kt, 17)
local = element$iv: double = 1.0 (sp = frameInlineFun.kt, 12)
Disconnected from the target VM
Process finished with exit code 0