Debugger: add imports from file on breakpoint
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
LineBreakpoint created at imports.kt:10
|
||||
!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! imports.ImportsPackage
|
||||
Connected to the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
|
||||
imports.kt:9
|
||||
Disconnected from the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
|
||||
|
||||
Process finished with exit code 0
|
||||
@@ -0,0 +1,23 @@
|
||||
package imports
|
||||
|
||||
import java.util.Collections
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashSet
|
||||
import java.util.HashMap as JHashMap
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
//Breakpoint!
|
||||
args.size
|
||||
}
|
||||
|
||||
// EXPRESSION: Collections.emptyList<String>()
|
||||
// RESULT: instance of java.util.Collections$EmptyList(id=337): Ljava/util/Collections$EmptyList;
|
||||
|
||||
// EXPRESSION: ArrayList<Int>()
|
||||
// RESULT: instance of java.util.ArrayList(id=383): Ljava/util/ArrayList;
|
||||
|
||||
// EXPRESSION: HashSet<Int>()
|
||||
// RESULT: instance of java.util.HashSet(id=387): Ljava/util/HashSet;
|
||||
|
||||
// EXPRESSION: JHashMap<Int, Int>()
|
||||
// RESULT: instance of java.util.HashMap(id=391): Ljava/util/HashMap;
|
||||
Reference in New Issue
Block a user