84c473d800
Avoid calling InetAddress.getLocalHost() that can be very slow. Exact connection or disconnection string isn't relevant for tests anyway.
30 lines
685 B
Plaintext
Vendored
30 lines
685 B
Plaintext
Vendored
LineBreakpoint created at frameLambdaNotUsed.kt:7
|
|
Run Java
|
|
Connected to the target VM
|
|
frameLambdaNotUsed.kt:7
|
|
Compile bytecode for val1
|
|
package frameLambdaNotUsed
|
|
|
|
fun main(args: Array<String>) {
|
|
val val1 = 1
|
|
foo {
|
|
//Breakpoint!
|
|
val a = 1
|
|
}
|
|
}
|
|
|
|
fun foo(f: () -> Unit) {
|
|
f()
|
|
}
|
|
|
|
// PRINT_FRAME
|
|
|
|
// EXPRESSION: val1
|
|
// RESULT: Cannot find local variable: name = val1
|
|
frame = invoke:7, FrameLambdaNotUsedKt$main$1 {frameLambdaNotUsed}
|
|
this = this = {frameLambdaNotUsed.FrameLambdaNotUsedKt$main$1@uniqueID}Function0<kotlin.Unit>
|
|
field = arity: int = 0 (sp = Lambda.!EXT!)
|
|
Disconnected from the target VM
|
|
|
|
Process finished with exit code 0
|