Add some more test on filters for debugger
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package doNotSkipClassloader
|
||||
|
||||
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: false
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
package doNotSkipConstructors
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
//Breakpoint!
|
||||
A()
|
||||
val b = 1
|
||||
}
|
||||
|
||||
class A {
|
||||
{
|
||||
val a = 1
|
||||
}
|
||||
}
|
||||
|
||||
// SKIP_CONSTRUCTORS: false
|
||||
// REPEAT: 2
|
||||
@@ -0,0 +1,14 @@
|
||||
package stepIntoSpecificKotlinClasses
|
||||
|
||||
import stepInto.MyJavaClass
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val myClass = MyJavaClass()
|
||||
//Breakpoint!
|
||||
val a: String = myClass.testNotNullFun()
|
||||
val b = 1
|
||||
}
|
||||
|
||||
// REPEAT: 5
|
||||
// DISABLE_KOTLIN_INTERNAL_CLASSES: false
|
||||
// TRACING_FILTERS_ENABLED: false
|
||||
@@ -0,0 +1,10 @@
|
||||
package stepIntoStdlib
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val a = intArray(1)
|
||||
//Breakpoint!
|
||||
a.withIndices()
|
||||
val b = 1
|
||||
}
|
||||
|
||||
// TRACING_FILTERS_ENABLED: false
|
||||
Reference in New Issue
Block a user