Debugger, BE: Provide Java-like stepping for 'for' loops

- Visit '}' instead of 'for' keyword on post-condition
- Visit 'for' keyword on pre-condition
This commit is contained in:
Yan Zhulanow
2019-11-29 18:55:33 +09:00
parent 8b17718086
commit f115bde682
11 changed files with 46 additions and 13 deletions
@@ -5,7 +5,6 @@ continueLabel.kt:5
continueLabel.kt:6
continueLabel.kt:7
continueLabel.kt:8
continueLabel.kt:10
continueLabel.kt:5
continueLabel.kt:6
continueLabel.kt:7
@@ -15,4 +15,4 @@ fun main(args: Array<String>) {
val z = 1
}
// STEP_INTO: 14
// STEP_INTO: 17
@@ -16,6 +16,7 @@ forLoop.kt:12
forLoop.kt:13
forLoop.kt:11
forLoop.kt:15
forLoop.kt:16
Disconnected from the target VM
Process finished with exit code 0