Evaluate expression: test with doubles
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
LineBreakpoint created at doubles.kt:7
|
||||
!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! doubles.DoublesPackage
|
||||
Connected to the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
|
||||
doubles.kt:6
|
||||
Disconnected from the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
|
||||
|
||||
Process finished with exit code 0
|
||||
@@ -0,0 +1,11 @@
|
||||
package doubles
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val d1 = 1.0
|
||||
val d2 = 3.0
|
||||
//Breakpoint!
|
||||
args.size
|
||||
}
|
||||
|
||||
// EXPRESSION: d1 + d2
|
||||
// RESULT: 4.0: D
|
||||
Reference in New Issue
Block a user