Evaluate expression: pass this as first parameter
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
LineBreakpoint created at extractThis.kt:12
|
||||
LineBreakpoint created at extractThis.kt:13
|
||||
!JDK_HOME!\bin\java -agentlib:jdwp=transport=dt_socket,address=!HOST_NAME!:!HOST_PORT!,suspend=y,server=n -Dfile.encoding=!FILE_ENCODING! -classpath !APP_PATH!\classes;!KOTLIN_RUNTIME!;!RT_JAR! extractThis.ExtractThisPackage
|
||||
Connected to the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
|
||||
extractThis.kt:11
|
||||
extractThis.kt:12
|
||||
Disconnected from the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
|
||||
|
||||
Process finished with exit code 0
|
||||
|
||||
@@ -8,8 +8,9 @@ class MyClass {
|
||||
val prop = 1
|
||||
|
||||
fun test() {
|
||||
//Breakpoint!
|
||||
val a = 1
|
||||
//Breakpoint!
|
||||
val b = 1
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,4 +18,7 @@ class MyClass {
|
||||
// RESULT: 1: I
|
||||
|
||||
// EXPRESSION: this.prop
|
||||
// RESULT: 1: I
|
||||
// RESULT: 1: I
|
||||
|
||||
// EXPRESSION: prop + a
|
||||
// RESULT: 2: I
|
||||
Reference in New Issue
Block a user