Debugger: allow to evaluate 'this' and fields in java files
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
package jcProperty
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val javaClass = forTests.javaContext.JavaClass()
|
||||
//Breakpoint!
|
||||
javaClass.property()
|
||||
}
|
||||
|
||||
// STEP_INTO: 1
|
||||
|
||||
// EXPRESSION: this.javaProperty
|
||||
// RESULT: 1: I
|
||||
|
||||
// EXPRESSION: javaProperty
|
||||
// RESULT: 1: I
|
||||
|
||||
// EXPRESSION: javaPrivateProperty
|
||||
// RESULT: 1: I
|
||||
@@ -39,4 +39,11 @@ public class JavaClass {
|
||||
Integer i = 1;
|
||||
int breakpoint = 1;
|
||||
}
|
||||
|
||||
public int javaProperty = 1;
|
||||
private int javaPrivateProperty = 1;
|
||||
|
||||
public void property() {
|
||||
int breakpoint = 1;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user