Better diagnostic for inlined line under dex on step over

This commit is contained in:
Nikolay Krasko
2016-11-15 22:01:55 +03:00
parent 2817e1a5f1
commit 6f95667f54
8 changed files with 58 additions and 27 deletions
@@ -0,0 +1,8 @@
LineBreakpoint created at stopInInlineInOtherFileWithLambdaArgumentDex.Other.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 !OUTPUT_PATH!;!KOTLIN_RUNTIME!;!CUSTOM_LIBRARY!;!RT_JAR! stopInInlineInOtherFileWithLambdaArgumentDex.StopInInlineInOtherFileWithLambdaArgumentDexKt
Connected to the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
stopInInlineInOtherFileWithLambdaArgumentDex.Other.kt:6
stopInInlineInOtherFileWithLambdaArgumentDex.Other.kt:7
Disconnected from the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
Process finished with exit code 0
@@ -0,0 +1,8 @@
package stopInInlineInOtherFileWithLambdaArgumentDex
inline fun inlineFun(a: () -> Unit) {
a()
// Breakpoint 1
a()
a()
}
@@ -0,0 +1,8 @@
package stopInInlineInOtherFileWithLambdaArgumentDex
fun main(args: Array<String>) {
inlineFun { "hi" }
val i = 1
}
// ADDITIONAL_BREAKPOINT: stopInInlineInOtherFileWithLambdaArgumentDex.Other.kt: Breakpoint 1