Debugger: Disable exception on 'variable not found' event (EA-138365)

The error message is still visible to the user, so it doesn't make much sense to duplicate it as an exception.
This commit is contained in:
Yan Zhulanow
2019-07-12 16:40:10 +09:00
parent e0c4a1c6f1
commit 52a958256d
3 changed files with 3 additions and 36 deletions
@@ -16,7 +16,7 @@ fun main(args: Array<String>) {
fun myLocalFun3() {
// EXPRESSION: myLocalFun1() + 1
// RESULT: java.lang.AssertionError : Cannot find local variable: name = 'myLocalFun1', type = kotlin.jvm.functions.Function0
// RESULT: Cannot find local variable 'myLocalFun1' with type kotlin.jvm.functions.Function0
//Breakpoint!
myLocalFun1() + 1
}
@@ -56,7 +56,7 @@ fun main(args: Array<String>) {
i = 1
fun myLocalFun7() {
// EXPRESSION: myLocalFun6() + 1
// RESULT: java.lang.AssertionError : Cannot find local variable: name = 'myLocalFun6', type = kotlin.jvm.functions.Function0
// RESULT: Cannot find local variable 'myLocalFun6' with type kotlin.jvm.functions.Function0
//Breakpoint!
myLocalFun6() + 1
}