Skip all same line locations when stepping over inline call (KT-20351)
#KT-20351
This commit is contained in:
+57
@@ -0,0 +1,57 @@
|
||||
package soInlineCallsInOneLine
|
||||
|
||||
fun test(i: Int): Boolean {
|
||||
return false
|
||||
}
|
||||
|
||||
fun foo() {}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
//Breakpoint!
|
||||
val listOf = listOf(1)
|
||||
val testSome = listOf.filterNot(::test)
|
||||
foo()
|
||||
}
|
||||
|
||||
|
||||
// STEP_OVER: 3
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
LineBreakpoint created at soInlineCallsInOneLine.kt:11
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
soInlineCallsInOneLine.kt:11
|
||||
soInlineCallsInOneLine.kt:12
|
||||
soInlineCallsInOneLine.kt:13
|
||||
soInlineCallsInOneLine.kt:14
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
Reference in New Issue
Block a user