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:
+2
-2
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user