Scala Debugger Warning - Google Groups
This is a bug/limitation in the Eclipse Java debugger.In this case, the message is mostly right as Eclipse is trying to add the breakpoint to the companion class, which was generated by the compiler, and cannot be mapped to any line of code.
There are a few things you can do to remove the warning:
- disable the check. It is the "Warm when unable to install breakpoint due to missing line number attributes" checkbox in the Java>Debug preference page. Or use the "don't tell me again" checkbox.
- add an empty companion class, so the compiler is able to map the generate methods to a line of code
- use out the still-in-development Scala debugger available in the latest Scala IDE milestones and nightlies, which is not checking for this yet :) http://scala-ide.org/docs/helium/features/scaladebugger/index.html
Read full article from Scala Debugger Warning - Google Groups
No comments:
Post a Comment