I have a method that looks like this:
If I set a breakpoint on the "private def" line, or on the "for {" line, it is never hit. Either it should be hit, or Eclipse should refuse to set a breakpoint on lines that can't be hit.
private def sessionAuth(request: RequestHeader) =
for {
username <- request.session.get("username")
password <- request.session.get("password")
} yield Credentials(username, password)
If I set a breakpoint on the "private def" line, or on the "for {" line, it is never hit. Either it should be hit, or Eclipse should refuse to set a breakpoint on lines that can't be hit.
Leave a comment
No file chosen
You have an empty file field. Please select or remove it.
Name | Size |
---|