Debugger: implement compiling evaluator

This commit is contained in:
Natalia Ukhorskaya
2015-02-10 14:19:51 +03:00
parent 91e745704a
commit 7a4b291c85
24 changed files with 477 additions and 5 deletions
@@ -0,0 +1,16 @@
LineBreakpoint created at ceLocalClass.kt:6
!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!;!CUSTOM_LIBRARY!;!RT_JAR! ceLocalClass.CeLocalClassPackage
Connected to the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
ceLocalClass.kt:6
Compile bytecode for class MyClass {
fun test() = 2
}
val a = MyClass()
a.test()
// RESULT: 2: I
Disconnected from the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
Process finished with exit code 0