Debugger: write line number for catch clause declaration
This commit is contained in:
@@ -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
|
||||
+1
-1
@@ -51,4 +51,4 @@ inline fun foo(f: () -> Int): Int {
|
||||
|
||||
fun test(i: Int) = 1
|
||||
|
||||
// STEP_OVER: 15
|
||||
// STEP_OVER: 19
|
||||
Reference in New Issue
Block a user