Debugger: add tests (filter classloaders and constructors)

This commit is contained in:
Natalia Ukhorskaya
2014-08-29 13:50:05 +04:00
parent 619ffead17
commit f26ea299dc
7 changed files with 108 additions and 2 deletions
@@ -0,0 +1,18 @@
package skipClassloader
fun main(args: Array<String>) {
val loader = javaClass<A>().getClassLoader()!!
try {
//Breakpoint!
val aaa = loader.loadClass("skipClassloader.A")
}
catch (e: ClassNotFoundException) {
e.printStackTrace()
}
}
class A
// TRACING_FILTERS_ENABLED: false
// SKIP_CLASSLOADERS: true
@@ -0,0 +1,15 @@
package skipConstructors
fun main(args: Array<String>) {
//Breakpoint!
A()
val b = 1
}
class A {
{
val a = 1
}
}
// SKIP_CONSTRUCTORS: true