Debug breakpoints in value classes not working?

I've been struggling with some specs2 tests, in which the Intellij debugger has been refusing to stop. The relevant breakpoints being skipped were in implicit wrapper classes, defined using Scala 2.10's value class feature. Since the Scala compiler heavily transform value class code, I wondered if this might explain why the breakpoints were not working.

I tested this by moving the breakpoint into a submethod, factored out of the value class, and sure enough, the breakpoint worked OK. So I think there might be a debugger bug here...

-Ben

0
1 comment

I created an issue: http://youtrack.jetbrains.com/issue/SCL-5845

Best regards,
Alexander Podkhalyuzin.

0

Please sign in to leave a comment.