Speed up debugger tests by replacing base output preprocessor

Avoid calling InetAddress.getLocalHost() that can be very slow.
Exact connection or disconnection string isn't relevant for tests
anyway.
This commit is contained in:
Nikolay Krasko
2017-03-20 15:16:50 +03:00
parent 9ad705a60a
commit 84c473d800
321 changed files with 1082 additions and 978 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
LineBreakpoint created at frameThis0Ext.kt:15
!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! frameThis0Ext.FrameThis0ExtKt
Connected to the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
Run Java
Connected to the target VM
frameThis0Ext.kt:15
Compile bytecode for val1
Compile bytecode for prop1
@@ -71,6 +71,6 @@ fun foo(f: () -> Unit) {
field = prop2: int = 1 (sp = frameThis0Ext.kt, 25)
field = $val1: int = 1 (sp = null)
field = arity: int = 0 (sp = Lambda.!EXT!)
Disconnected from the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
Disconnected from the target VM
Process finished with exit code 0