Debugger: Fix method evaluation on arrays (KT-11706)
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package arrayMethods
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
//Breakpoint!
|
||||
val a = 5
|
||||
}
|
||||
|
||||
// EXPRESSION: args.toString().length > 0
|
||||
// RESULT: 1: Z
|
||||
|
||||
// EXPRESSION: args.hashCode() and 0
|
||||
// RESULT: 0: I
|
||||
|
||||
// EXPRESSION: args.clone()
|
||||
// RESULT: instance of java.lang.String[0] (id=ID): [Ljava/lang/String;
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
LineBreakpoint created at arrayMethods.kt:5
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
arrayMethods.kt:5
|
||||
Compile bytecode for args.toString().length > 0
|
||||
Compile bytecode for args.hashCode() and 0
|
||||
Compile bytecode for args.clone()
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
Reference in New Issue
Block a user