Debugger: add tests (filter classloaders and constructors)
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user