Debugger: Remove/change tests for the deprecated Android dex
This commit is contained in:
-23
@@ -1,23 +0,0 @@
|
||||
// FILE: inlineInClassDex.kt
|
||||
// EMULATE_DEX: true
|
||||
|
||||
package inlineInClassDex
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
inlineInClassDex.other.TestDexInlineInClass().inlineFun()
|
||||
}
|
||||
|
||||
// ADDITIONAL_BREAKPOINT: inlineInClassDex.Other.kt: Breakpoint 1
|
||||
|
||||
// FILE: inlineInClassDex.Other.kt
|
||||
package inlineInClassDex.other
|
||||
|
||||
class TestDexInlineInClass {
|
||||
inline fun inlineFun() {
|
||||
// Breakpoint 1
|
||||
some()
|
||||
some()
|
||||
}
|
||||
|
||||
fun some() {}
|
||||
}
|
||||
-8
@@ -1,8 +0,0 @@
|
||||
LineBreakpoint created at inlineInClassDex.Other.kt:7
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
inlineInClassDex.Other.kt:7
|
||||
inlineInClassDex.Other.kt:8
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
-21
@@ -1,21 +0,0 @@
|
||||
// FILE: inlineInIfFalseDex.kt
|
||||
// EMULATE_DEX: true
|
||||
|
||||
package inlineInIfFalseDex
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val bar = ""
|
||||
//Breakpoint!
|
||||
if (inlineCall { true }) {
|
||||
foo()
|
||||
}
|
||||
foo()
|
||||
}
|
||||
|
||||
fun foo() {}
|
||||
|
||||
inline fun inlineCall(predicate: (String?) -> Boolean): Boolean {
|
||||
return false
|
||||
}
|
||||
|
||||
// STEP_OVER: 8
|
||||
-9
@@ -1,9 +0,0 @@
|
||||
LineBreakpoint created at inlineInIfFalseDex.kt:9
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
inlineInIfFalseDex.kt:9
|
||||
inlineInIfFalseDex.kt:12
|
||||
inlineInIfFalseDex.kt:13
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
-20
@@ -1,20 +0,0 @@
|
||||
// FILE: inlineInIfTrueDex.kt
|
||||
// EMULATE_DEX: true
|
||||
|
||||
package inlineInIfTrueDex
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val bar = ""
|
||||
//Breakpoint!
|
||||
if (inlineCall { true }) { // 1
|
||||
foo() // 2
|
||||
}
|
||||
} // 3
|
||||
|
||||
fun foo() {}
|
||||
|
||||
inline fun inlineCall(predicate: (String?) -> Boolean): Boolean {
|
||||
return true
|
||||
}
|
||||
|
||||
// STEP_OVER: 6
|
||||
-9
@@ -1,9 +0,0 @@
|
||||
LineBreakpoint created at inlineInIfTrueDex.kt:9
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
inlineInIfTrueDex.kt:9
|
||||
inlineInIfTrueDex.kt:10
|
||||
inlineInIfTrueDex.kt:12
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
// FILE: inlineInObject.kt
|
||||
package inlineInObject
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
inlineInObject.other.TestInlineInObject.inlineFun()
|
||||
}
|
||||
|
||||
// ADDITIONAL_BREAKPOINT: inlineInObject.Other.kt: Breakpoint 1
|
||||
|
||||
// FILE: inlineInObject.Other.kt
|
||||
package inlineInObject.other
|
||||
|
||||
object TestInlineInObject {
|
||||
inline fun inlineFun() {
|
||||
// Breakpoint 1
|
||||
some()
|
||||
some()
|
||||
}
|
||||
|
||||
fun some() {}
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
LineBreakpoint created at inlineInObject.Other.kt:7
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
inlineInObject.Other.kt:7
|
||||
inlineInObject.Other.kt:8
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
-23
@@ -1,23 +0,0 @@
|
||||
// FILE: inlineInObjectDex.kt
|
||||
// EMULATE_DEX: true
|
||||
|
||||
package inlineInObjectDex
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
inlineInObjectDex.other.TestDexInlineInObject.inlineFun()
|
||||
}
|
||||
|
||||
// ADDITIONAL_BREAKPOINT: inlineInObjectDex.Other.kt: Breakpoint 1
|
||||
|
||||
// FILE: inlineInObjectDex.Other.kt
|
||||
package inlineInObjectDex.other
|
||||
|
||||
object TestDexInlineInObject {
|
||||
inline fun inlineFun() {
|
||||
// Breakpoint 1
|
||||
some()
|
||||
some()
|
||||
}
|
||||
|
||||
fun some() {}
|
||||
}
|
||||
-8
@@ -1,8 +0,0 @@
|
||||
LineBreakpoint created at inlineInObjectDex.Other.kt:7
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
inlineInObjectDex.Other.kt:7
|
||||
inlineInObjectDex.Other.kt:8
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
-23
@@ -1,23 +0,0 @@
|
||||
// FILE: soInlineAnonymousFunctionArgumentDex.kt
|
||||
// EMULATE_DEX: true
|
||||
|
||||
package soInlineAnonymousFunctionArgumentDex
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
//Breakpoint!
|
||||
val b = 1 // 1
|
||||
|
||||
foo( // 2
|
||||
fun (){ test(1) } //
|
||||
)
|
||||
|
||||
foo(fun (){ test(1) }) // 3
|
||||
} // 4
|
||||
|
||||
inline fun foo(f: () -> Unit) {
|
||||
f()
|
||||
}
|
||||
|
||||
fun test(i: Int) = 1
|
||||
|
||||
// STEP_OVER: 10
|
||||
-10
@@ -1,10 +0,0 @@
|
||||
LineBreakpoint created at soInlineAnonymousFunctionArgumentDex.kt:8
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
soInlineAnonymousFunctionArgumentDex.kt:8
|
||||
soInlineAnonymousFunctionArgumentDex.kt:10
|
||||
soInlineAnonymousFunctionArgumentDex.kt:14
|
||||
soInlineAnonymousFunctionArgumentDex.kt:15
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
-23
@@ -1,23 +0,0 @@
|
||||
// FILE: soInlineCallInLastStatementInInlineDex.kt
|
||||
// EMULATE_DEX: true
|
||||
|
||||
package soInlineCallInLastStatementInInlineDex
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
bar()
|
||||
nop() // 3
|
||||
} // 4
|
||||
|
||||
inline fun bar() {
|
||||
//Breakpoint!
|
||||
nop() // 1
|
||||
foo { 42 } // 2
|
||||
}
|
||||
|
||||
inline fun foo(f: () -> Unit) {
|
||||
f()
|
||||
}
|
||||
|
||||
fun nop() {}
|
||||
|
||||
// STEP_OVER: 8
|
||||
-11
@@ -1,11 +0,0 @@
|
||||
LineBreakpoint created at soInlineCallInLastStatementInInlineDex.kt:13
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
soInlineCallInLastStatementInInlineDex.kt:13
|
||||
soInlineCallInLastStatementInInlineDex.kt:14
|
||||
soInlineCallInLastStatementInInlineDex.kt:15
|
||||
soInlineCallInLastStatementInInlineDex.kt:8
|
||||
soInlineCallInLastStatementInInlineDex.kt:9
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
-25
@@ -1,25 +0,0 @@
|
||||
// FILE: soInlineCallInLastStatementInInlineFunctionArgumentDex.kt
|
||||
// EMULATE_DEX: true
|
||||
|
||||
package soInlineCallInLastStatementInInlineFunctionArgumentDex
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
bar {
|
||||
nop()
|
||||
//Breakpoint!
|
||||
foo()
|
||||
}
|
||||
}
|
||||
|
||||
inline fun bar(f: () -> Unit) {
|
||||
nop()
|
||||
f()
|
||||
}
|
||||
|
||||
inline fun foo() {
|
||||
nop()
|
||||
}
|
||||
|
||||
fun nop() {}
|
||||
|
||||
// STEP_OVER: 5
|
||||
-9
@@ -1,9 +0,0 @@
|
||||
LineBreakpoint created at soInlineCallInLastStatementInInlineFunctionArgumentDex.kt:10
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
soInlineCallInLastStatementInInlineFunctionArgumentDex.kt:10
|
||||
soInlineCallInLastStatementInInlineFunctionArgumentDex.kt:11
|
||||
soInlineCallInLastStatementInInlineFunctionArgumentDex.kt:12
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
-30
@@ -1,30 +0,0 @@
|
||||
// FILE: soInlineFunDex.kt
|
||||
// EMULATE_DEX: true
|
||||
|
||||
package soInlineFunDex
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val a = 1
|
||||
|
||||
//Breakpoint!
|
||||
simple() // 1
|
||||
|
||||
withParam(1 + a) // 2
|
||||
|
||||
withLambda { "hi" } // 3
|
||||
} // 4
|
||||
|
||||
inline fun simple() {
|
||||
foo()
|
||||
}
|
||||
|
||||
inline fun withParam(i: Int) {
|
||||
}
|
||||
|
||||
inline fun withLambda(a: () -> Unit) {
|
||||
a()
|
||||
}
|
||||
|
||||
fun foo() {}
|
||||
|
||||
// STEP_OVER: 6
|
||||
-10
@@ -1,10 +0,0 @@
|
||||
LineBreakpoint created at soInlineFunDex.kt:10
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
soInlineFunDex.kt:10
|
||||
soInlineFunDex.kt:12
|
||||
soInlineFunDex.kt:14
|
||||
soInlineFunDex.kt:15
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
Vendored
-24
@@ -1,24 +0,0 @@
|
||||
// FILE: soInlineFunOnOneLineForDex.kt
|
||||
// EMULATE_DEX: true
|
||||
|
||||
package soInlineFunOnOneLineForDex
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val list = listOf(1, 2, 3)
|
||||
|
||||
list.any1 { it > 2 }
|
||||
|
||||
foo()
|
||||
}
|
||||
|
||||
fun foo() {
|
||||
|
||||
}
|
||||
|
||||
inline fun <T> Iterable<T>.any1(predicate: (T) -> Boolean): Boolean {
|
||||
//Breakpoint!
|
||||
for (element in this) if (predicate(element)) return true
|
||||
return false
|
||||
}
|
||||
|
||||
// STEP_OVER: 3
|
||||
Vendored
-10
@@ -1,10 +0,0 @@
|
||||
LineBreakpoint created at soInlineFunOnOneLineForDex.kt:20
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
soInlineFunOnOneLineForDex.kt:20
|
||||
soInlineFunOnOneLineForDex.kt:21
|
||||
soInlineFunOnOneLineForDex.kt:11
|
||||
soInlineFunOnOneLineForDex.kt:12
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+2
-4
@@ -1,7 +1,5 @@
|
||||
// FILE: soInlineIterableFunDex.kt
|
||||
// EMULATE_DEX: true
|
||||
|
||||
package soInlineIterableFunDex
|
||||
// FILE: soInlineIterableFun.kt
|
||||
package soInlineIterableFun
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
//Breakpoint!
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
LineBreakpoint created at soInlineIterableFun.kt:6
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
soInlineIterableFun.kt:6
|
||||
soInlineIterableFun.kt:8
|
||||
soInlineIterableFun.kt:10
|
||||
soInlineIterableFun.kt:11
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
-10
@@ -1,10 +0,0 @@
|
||||
LineBreakpoint created at soInlineIterableFunDex.kt:8
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
soInlineIterableFunDex.kt:8
|
||||
soInlineIterableFunDex.kt:10
|
||||
soInlineIterableFunDex.kt:12
|
||||
soInlineIterableFunDex.kt:13
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+2
-4
@@ -1,7 +1,5 @@
|
||||
// FILE: soInlineLibFunDex.kt
|
||||
// EMULATE_DEX: true
|
||||
|
||||
package soInlineLibFunDex
|
||||
// FILE: soInlineLibFun.kt
|
||||
package soInlineLibFun
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
//Breakpoint!
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
LineBreakpoint created at soInlineLibFun.kt:6
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
soInlineLibFun.kt:6
|
||||
soInlineLibFun.kt:8
|
||||
soInlineLibFun.kt:10
|
||||
soInlineLibFun.kt:11
|
||||
soInlineLibFun.kt:13
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
-11
@@ -1,11 +0,0 @@
|
||||
LineBreakpoint created at soInlineLibFunDex.kt:8
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
soInlineLibFunDex.kt:8
|
||||
soInlineLibFunDex.kt:10
|
||||
soInlineLibFunDex.kt:12
|
||||
soInlineLibFunDex.kt:13
|
||||
soInlineLibFunDex.kt:15
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+2
-4
@@ -1,7 +1,5 @@
|
||||
// FILE: soInlineUnitFunDex.kt
|
||||
// EMULATE_DEX: true
|
||||
|
||||
package soInlineUnitFunDex
|
||||
// FILE: soInlineUnitFun.kt
|
||||
package soInlineUnitFun
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
process()
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
LineBreakpoint created at soInlineUnitFunDex.kt:13
|
||||
LineBreakpoint created at soInlineUnitFun.kt:11
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
soInlineUnitFunDex.kt:13
|
||||
soInlineUnitFunDex.kt:7
|
||||
soInlineUnitFun.kt:11
|
||||
soInlineUnitFun.kt:5
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
Vendored
-26
@@ -1,26 +0,0 @@
|
||||
// FILE: soInlineWhileConditionDex.kt
|
||||
// EMULATE_DEX: true
|
||||
|
||||
package soInlineWhileConditionDex
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
//Breakpoint!
|
||||
var i = 1
|
||||
// inline in while condition (true)
|
||||
while (id { i < 2 }) {
|
||||
i++
|
||||
}
|
||||
|
||||
// inline in while condition (false)
|
||||
while (id { false }) {
|
||||
bar()
|
||||
}
|
||||
}
|
||||
|
||||
inline fun id(f: () -> Boolean): Boolean {
|
||||
return f()
|
||||
}
|
||||
|
||||
fun bar() {}
|
||||
|
||||
// STEP_OVER: 12
|
||||
Vendored
-12
@@ -1,12 +0,0 @@
|
||||
LineBreakpoint created at soInlineWhileConditionDex.kt:8
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
soInlineWhileConditionDex.kt:8
|
||||
soInlineWhileConditionDex.kt:10
|
||||
soInlineWhileConditionDex.kt:11
|
||||
soInlineWhileConditionDex.kt:10
|
||||
soInlineWhileConditionDex.kt:15
|
||||
soInlineWhileConditionDex.kt:18
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
-23
@@ -1,23 +0,0 @@
|
||||
// FILE: stopInAnonymousFunctionInInlinedCallWithCrossInlineDex.kt
|
||||
// EMULATE_DEX: true
|
||||
|
||||
package stopInAnonymousFunctionInInlinedCallWithCrossInlineDex
|
||||
|
||||
// KT-15282
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
foo(fun (): Int {
|
||||
//Breakpoint!
|
||||
return 12
|
||||
})
|
||||
}
|
||||
|
||||
fun bar(f: () -> Unit) {
|
||||
f()
|
||||
}
|
||||
|
||||
inline fun foo(crossinline func: () -> Int) {
|
||||
bar {
|
||||
func()
|
||||
}
|
||||
}
|
||||
-8
@@ -1,8 +0,0 @@
|
||||
LineBreakpoint created at stopInAnonymousFunctionInInlinedCallWithCrossInlineDex.kt:11
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
stopInAnonymousFunctionInInlinedCallWithCrossInlineDex.kt:11
|
||||
stopInAnonymousFunctionInInlinedCallWithCrossInlineDex.kt:22
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+2
-4
@@ -1,7 +1,5 @@
|
||||
// FILE: stopInInlineFunDex.kt
|
||||
// EMULATE_DEX: true
|
||||
|
||||
package stopInInlineFunDex
|
||||
// FILE: stopInInlineFun.kt
|
||||
package stopInInlineFun
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
inlineFun()
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
LineBreakpoint created at stopInInlineFunDex.kt:13
|
||||
LineBreakpoint created at stopInInlineFun.kt:11
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
stopInInlineFunDex.kt:13
|
||||
stopInInlineFunDex.kt:14
|
||||
stopInInlineFun.kt:11
|
||||
stopInInlineFun.kt:12
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
// FILE: stopInInlineInOtherFile.kt
|
||||
package stopInInlineInOtherFile
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
inlineFun()
|
||||
}
|
||||
|
||||
// ADDITIONAL_BREAKPOINT: stopInInlineInOtherFile.Other.kt: Breakpoint 1
|
||||
|
||||
// FILE: stopInInlineInOtherFile.Other.kt
|
||||
package stopInInlineInOtherFile
|
||||
|
||||
inline fun inlineFun() {
|
||||
var i = 1
|
||||
// Breakpoint 1
|
||||
i++
|
||||
i++
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
LineBreakpoint created at stopInInlineInOtherFile.Other.kt:7
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
stopInInlineInOtherFile.Other.kt:7
|
||||
stopInInlineInOtherFile.Other.kt:8
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
Vendored
-20
@@ -1,20 +0,0 @@
|
||||
// FILE: stopInInlineInOtherFileDex.kt
|
||||
// EMULATE_DEX: true
|
||||
|
||||
package stopInInlineInOtherFileDex
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
inlineFun()
|
||||
}
|
||||
|
||||
// ADDITIONAL_BREAKPOINT: stopInInlineInOtherFileDex.Other.kt: Breakpoint 1
|
||||
|
||||
// FILE: stopInInlineInOtherFileDex.Other.kt
|
||||
package stopInInlineInOtherFileDex
|
||||
|
||||
inline fun inlineFun() {
|
||||
var i = 1
|
||||
// Breakpoint 1
|
||||
i++
|
||||
i++
|
||||
}
|
||||
Vendored
-8
@@ -1,8 +0,0 @@
|
||||
LineBreakpoint created at stopInInlineInOtherFileDex.Other.kt:7
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
stopInInlineInOtherFileDex.Other.kt:7
|
||||
stopInInlineInOtherFileDex.Other.kt:8
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
// FILE: stopInInlineInOtherFileWithLambdaArgument.kt
|
||||
package stopInInlineInOtherFileWithLambdaArgument
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
inlineFun { "hi" }
|
||||
val i = 1
|
||||
}
|
||||
|
||||
// ADDITIONAL_BREAKPOINT: stopInInlineInOtherFileWithLambdaArgument.Other.kt: Breakpoint 1
|
||||
|
||||
// FILE: stopInInlineInOtherFileWithLambdaArgument.Other.kt
|
||||
package stopInInlineInOtherFileWithLambdaArgument
|
||||
|
||||
inline fun inlineFun(a: () -> Unit) {
|
||||
a()
|
||||
// Breakpoint 1
|
||||
a()
|
||||
a()
|
||||
}
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
LineBreakpoint created at stopInInlineInOtherFileWithLambdaArgumentDex.Other.kt:7
|
||||
LineBreakpoint created at stopInInlineInOtherFileWithLambdaArgument.Other.kt:7
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
stopInInlineInOtherFileWithLambdaArgumentDex.Other.kt:7
|
||||
stopInInlineInOtherFileWithLambdaArgumentDex.kt:7
|
||||
stopInInlineInOtherFileWithLambdaArgument.Other.kt:7
|
||||
stopInInlineInOtherFileWithLambdaArgument.Other.kt:8
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
-21
@@ -1,21 +0,0 @@
|
||||
// FILE: stopInInlineInOtherFileWithLambdaArgumentDex.kt
|
||||
// EMULATE_DEX: true
|
||||
|
||||
package stopInInlineInOtherFileWithLambdaArgumentDex
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
inlineFun { "hi" }
|
||||
val i = 1
|
||||
}
|
||||
|
||||
// ADDITIONAL_BREAKPOINT: stopInInlineInOtherFileWithLambdaArgumentDex.Other.kt: Breakpoint 1
|
||||
|
||||
// FILE: stopInInlineInOtherFileWithLambdaArgumentDex.Other.kt
|
||||
package stopInInlineInOtherFileWithLambdaArgumentDex
|
||||
|
||||
inline fun inlineFun(a: () -> Unit) {
|
||||
a()
|
||||
// Breakpoint 1
|
||||
a()
|
||||
a()
|
||||
}
|
||||
-22
@@ -1,22 +0,0 @@
|
||||
// FILE: stopInLambdaInInlinedCallWithCrossInlineDex.kt
|
||||
// EMULATE_DEX: true
|
||||
// KT-15282
|
||||
|
||||
package stopInLambdaInInlinedCallWithCrossInlineDex
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
foo {
|
||||
//Breakpoint!
|
||||
12
|
||||
}
|
||||
}
|
||||
|
||||
fun bar(f: () -> Unit) {
|
||||
f()
|
||||
}
|
||||
|
||||
inline fun foo(crossinline func: () -> Int) {
|
||||
bar {
|
||||
func()
|
||||
}
|
||||
}
|
||||
-8
@@ -1,8 +0,0 @@
|
||||
LineBreakpoint created at stopInLambdaInInlinedCallWithCrossInlineDex.kt:10
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
stopInLambdaInInlinedCallWithCrossInlineDex.kt:10
|
||||
stopInLambdaInInlinedCallWithCrossInlineDex.kt:21
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
Reference in New Issue
Block a user