Files
kotlin-fork/idea/testData/debugger/tinyApp/outs/frameLambdaNotUsed.out
T
2015-10-19 16:03:19 +03:00

30 lines
1.0 KiB
Plaintext
Vendored

LineBreakpoint created at frameLambdaNotUsed.kt:7
!JDK_HOME!\bin\java -agentlib:jdwp=transport=dt_socket,address=!HOST_NAME!:!HOST_PORT!,suspend=y,server=n -Dfile.encoding=!FILE_ENCODING! -classpath !OUTPUT_PATH!;!KOTLIN_RUNTIME!;!CUSTOM_LIBRARY!;!RT_JAR! frameLambdaNotUsed.FrameLambdaNotUsedKt
Connected to the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
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}kotlin.jvm.functions.Function0<kotlin.Unit>
field = arity: int = 0 (sp = Lambda.!EXT!)
Disconnected from the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
Process finished with exit code 0