Fix smart step into functions call with suspend lambdas (KT-14700)

#KT-14700 Fixed
This commit is contained in:
Nikolay Krasko
2017-01-26 16:08:19 +03:00
parent 2add36ef32
commit 4a4a8250fd
7 changed files with 62 additions and 14 deletions
+8
View File
@@ -0,0 +1,8 @@
LineBreakpoint created at coroutine.kt:15
!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! coroutine.CoroutineKt
Connected to the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
coroutine.kt:15
coroutine.kt:16
Disconnected from the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
Process finished with exit code 0
@@ -0,0 +1,18 @@
package coroutine
import forTests.builder
suspend fun second() {
}
suspend fun first() {
second()
}
fun main(args: Array<String>) {
// SMART_STEP_INTO_BY_INDEX: 2
//Breakpoint!
builder {
first()
}
}