Cannot set a breakpoint in a inner class when the parent class is an object
The IDE won't allow setting a breakpoint in an inner class's method, when the parent class is an object.
Note that if object Zozo is changed to a class, setting a breakpoint becomes possible
Note that if object Zozo is changed to a class, setting a breakpoint becomes possible
object Zozo {
class Zaza {
def p = {
println("!") //<- cannot set a breakpoint here...
}
}
}
Leave a comment
Marking as Invalid as it is a duplicate. This is fixed in master.
As noted in #3271, the workaround until a new beta is released is to use the 'Toggle Line Breakpoint' action from the 'Run' menu in the main menu bar. It forces a line breakpoint at the current position.
As noted in #3271, the workaround until a new beta is released is to use the 'Toggle Line Breakpoint' action from the 'Run' menu in the main menu bar. It forces a line breakpoint at the current position.