Evaluate expression: add debug expression inside block for function literals
EA-56887 Fixed
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
LineBreakpoint created at insertInBlock.kt:6
|
||||
!JDK_HOME!\bin\java -agentlib:jdwp=transport=dt_socket,address=!HOST_NAME!:!HOST_PORT!,suspend=y,server=n -Dfile.encoding=!FILE_ENCODING! -classpath !APP_PATH!\classes;!KOTLIN_RUNTIME!;!RT_JAR! insertInBlock.InsertInBlockPackage
|
||||
Connected to the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
|
||||
insertInBlock.kt:5
|
||||
Disconnected from the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
|
||||
|
||||
Process finished with exit code 0
|
||||
@@ -0,0 +1,11 @@
|
||||
package insertInBlock
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val lambda = {
|
||||
//Breakpoint!
|
||||
val a = 1
|
||||
}()
|
||||
}
|
||||
|
||||
// EXPRESSION: 1 + 1
|
||||
// RESULT: 2: I
|
||||
Reference in New Issue
Block a user