Debugger: do not put breakpoints at lines from another file in case of inline function

This commit is contained in:
Natalia Ukhorskaya
2016-02-16 15:30:51 +03:00
parent 42927bb078
commit c5d788d049
6 changed files with 33 additions and 2 deletions
@@ -0,0 +1,13 @@
package inlineFunctionBreakpointAnotherFile
fun main(args: Array<String>) {
val a1 = 1
val a2 = 1
val a3 = 1
inlineFunctionWithBreakpoint.myFun {
val a = 1
}
}
// ADDITIONAL_BREAKPOINT: inlineFunctionWithBreakpoint.kt:inline fun myFun
@@ -0,0 +1,5 @@
package inlineFunctionWithBreakpoint
inline fun myFun(f: (Int) -> Unit) {
f(1)
}