diff --git a/idea/testData/debugger/tinyApp/outs/doubles.out b/idea/testData/debugger/tinyApp/outs/doubles.out new file mode 100644 index 00000000000..7fc4417f6d8 --- /dev/null +++ b/idea/testData/debugger/tinyApp/outs/doubles.out @@ -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 diff --git a/idea/testData/debugger/tinyApp/src/evaluate/doubles.kt b/idea/testData/debugger/tinyApp/src/evaluate/doubles.kt new file mode 100644 index 00000000000..1ba2c60ef79 --- /dev/null +++ b/idea/testData/debugger/tinyApp/src/evaluate/doubles.kt @@ -0,0 +1,11 @@ +package doubles + +fun main(args: Array) { + val d1 = 1.0 + val d2 = 3.0 + //Breakpoint! + args.size +} + +// EXPRESSION: d1 + d2 +// RESULT: 4.0: D \ No newline at end of file diff --git a/idea/tests/org/jetbrains/jet/plugin/debugger/evaluate/KotlinEvaluateExpressionTestGenerated.java b/idea/tests/org/jetbrains/jet/plugin/debugger/evaluate/KotlinEvaluateExpressionTestGenerated.java index 73973e98407..d2831a31d1c 100644 --- a/idea/tests/org/jetbrains/jet/plugin/debugger/evaluate/KotlinEvaluateExpressionTestGenerated.java +++ b/idea/tests/org/jetbrains/jet/plugin/debugger/evaluate/KotlinEvaluateExpressionTestGenerated.java @@ -66,6 +66,11 @@ public class KotlinEvaluateExpressionTestGenerated extends AbstractKotlinEvaluat doTest("idea/testData/debugger/tinyApp/src/evaluate/dependentOnFile.kt"); } + @TestMetadata("doubles.kt") + public void testDoubles() throws Exception { + doTest("idea/testData/debugger/tinyApp/src/evaluate/doubles.kt"); + } + @TestMetadata("enums.kt") public void testEnums() throws Exception { doTest("idea/testData/debugger/tinyApp/src/evaluate/enums.kt");