[Building Sakai] Debugging unit tests in Eclispe

Bryan Holladay holladay at longsight.com
Tue Jul 16 13:20:27 PDT 2013


I've never tried it through socket attaches.  Using the normal Eclipse
"Debug as..." button always worked for me.  I'm assuming this isn't an
option and you have to connect to an external socket?


On Tue, Jul 16, 2013 at 4:09 PM, Brian Jones <bjones86 at uwo.ca> wrote:

> Hello,
>
> Does anyone have any positive experience with debugging unit tests in
> Eclipse? I can get mvn in debug mode to listen for a socket attach, and I
> can attach my Eclipse debugger to it just fine, but it never respects the
> breakpoints I've set. Once it's attached, it just does the tests from start
> to finish without pausing on my breakpoitns.
>
> I've tried the following mvn commands:
>
>         - mvnDebug -DforkCount=0 test
>         - mvnDebug -DforkMode=never test
>
> Cheers,
>
> Brian Jones
> Applications Development
> Information Technology Services
> Support Services Building, Room 4326
> Western University
> (519) 661-2111 x86969
> bjones86 at uwo.ca
>
>
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to
> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130716/b135bd7f/attachment.html 


More information about the sakai-dev mailing list