Mark linenumber in property reference
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
LineBreakpoint created at functionReference.kt:11
|
||||
!JDK_HOME!\bin\java -agentlib:jdwp=transport=dt_socket,address=!HOST_NAME!:!HOST_PORT!,suspend=y,server=n -Dfile.encoding=!FILE_ENCODING! -classpath !OUTPUT_PATH!;!KOTLIN_RUNTIME!;!CUSTOM_LIBRARY!;!RT_JAR! functionReference.FunctionReferenceKt
|
||||
Connected to the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
|
||||
functionReference.kt:11
|
||||
functionReference.kt:4
|
||||
functionReference.kt:7
|
||||
functionReference.kt:11
|
||||
functionReference.kt:4
|
||||
functionReference.kt:5
|
||||
functionReference.kt:12
|
||||
Disconnected from the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
|
||||
|
||||
Process finished with exit code 0
|
||||
@@ -0,0 +1,13 @@
|
||||
LineBreakpoint created at propertyReference.kt:11
|
||||
!JDK_HOME!\bin\java -agentlib:jdwp=transport=dt_socket,address=!HOST_NAME!:!HOST_PORT!,suspend=y,server=n -Dfile.encoding=!FILE_ENCODING! -classpath !OUTPUT_PATH!;!KOTLIN_RUNTIME!;!CUSTOM_LIBRARY!;!RT_JAR! propertyReference.PropertyReferenceKt
|
||||
Connected to the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
|
||||
propertyReference.kt:11
|
||||
propertyReference.kt:4
|
||||
propertyReference.kt:7
|
||||
propertyReference.kt:11
|
||||
propertyReference.kt:4
|
||||
propertyReference.kt:5
|
||||
propertyReference.kt:12
|
||||
Disconnected from the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
|
||||
|
||||
Process finished with exit code 0
|
||||
@@ -0,0 +1,14 @@
|
||||
package functionReference
|
||||
|
||||
fun test(s: () -> String) {
|
||||
s()
|
||||
}
|
||||
|
||||
fun a() = "OK"
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
//Breakpoint!
|
||||
test(::a)
|
||||
}
|
||||
// NB: stepping is not clear
|
||||
// STEP_INTO: 7
|
||||
@@ -0,0 +1,14 @@
|
||||
package propertyReference
|
||||
|
||||
fun test(s: () -> String) {
|
||||
s()
|
||||
}
|
||||
|
||||
val a: String get() = "OK"
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
//Breakpoint!
|
||||
test(::a)
|
||||
}
|
||||
// NB: stepping is not clear
|
||||
// STEP_INTO: 7
|
||||
Reference in New Issue
Block a user