Debugger: write line number for catch clause declaration

This commit is contained in:
Natalia Ukhorskaya
2016-04-06 17:04:04 +03:00
parent 8e3ec5b7f0
commit 7a5ab93f9e
9 changed files with 44 additions and 4 deletions
@@ -0,0 +1,17 @@
package stepOverCatchClause
fun main(args: Array<String>) {
try {
bar()
}
catch(e: Exception) {
val a = e
}
}
fun bar() {
//Breakpoint!
throw IllegalStateException()
}
// STEP_OVER: 2
@@ -51,4 +51,4 @@ inline fun foo(f: () -> Int): Int {
fun test(i: Int) = 1
// STEP_OVER: 15
// STEP_OVER: 19