Add support for tests with debugger

This commit is contained in:
Vitaliy.Bibaev
2017-10-19 10:36:36 +03:00
committed by Yan Zhulanow
parent b916f9e8e6
commit 2aef583aa7
5 changed files with 252 additions and 0 deletions
@@ -0,0 +1,21 @@
LineBreakpoint created at Simple.kt:5
Run Java
Connected to the target VM
Simple.kt:5
Stream.of(1, 2, 3)
.toArray()
toArray
before: 1,2,3
after: 4,5,6
mappings for toArray
direct:
1 -> 4
2 -> 5
3 -> 6
reverse:
1 <- 4
2 <- 5
3 <- 6
Disconnected from the target VM
Process finished with exit code 0
@@ -0,0 +1,6 @@
import java.util.stream.Stream
fun main(args: Array<String>) {
// Breakpoint!
Stream.of(1, 2, 3).toArray()
}