Consider the following code:
package pkg1.other
class Mother {
def greet = {
println("hi mom")
}
}
class Father {
def greet = {
println("hi dad")
}
}
object Main extends App {
val mom = new Mother
val dad = new Father
mom.greet
dad.greet
}
Set a breakpoint at each of the println lines and then "debug" Main. Only the breakpoint in Father.greet actually works - breakpoint in Mother.greet is completely skipped!!!
It looks like if any of the enclosing packages (other in this case) is contained fully in a case-sensitive way in the class name (Mother in this case), the breakpoints inside of it get skipped.
Consider the following code:
Set a breakpoint at each of the
printlnlines and then "debug"Main. Only the breakpoint inFather.greetactually works - breakpoint inMother.greetis completely skipped!!!It looks like if any of the enclosing packages (
otherin this case) is contained fully in a case-sensitive way in the class name (Motherin this case), the breakpoints inside of it get skipped.