Robin Green
unread,Sep 28, 2012, 4:54:24 AM9/28/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to simple-b...@googlegroups.com
This sort of relates to the eclipse-sbt plugin, but I'm not sure whether the resolution will involve eclipse-sbt.
In my eclipse project classpath I've now got 3 different versions of the same dependency (specs2). I think this might be why I'm experiencing problems debugging inside that dependency (specifically, no breakpoints set inside there are being hit, but breakpoints set elsewhere are generally being hit OK). I've experienced similar problems before, too, without previously being able to identify the cause.
Note that I'm telling the eclipse-sbt plugin:
EclipseKeys.configurations := Set(Compile, Test, IntegrationTest)
so it's possible that sbt has resolved one version of specs2 for src/main, another version for src/test, and another version for src/it (integration tests). I don't know if that's the case, I'm just speculating here. I also don't believe that eclipse can distinguish between dependencies for different parts of the same project, so that's probably why they've all been combined.
I guess what I'd like to do is work out which version of the dependency is actually being used in the test run I'm debugging, and hide the others, at least so that Eclipse can't see them. This might not solve my debugging problem, but at least it'd eliminate this as a cause of the debugging problem, if it's not the cause.