Thursday, February 18, 2010

JBoss Developer Studio / Eclipse debug ignores breakpoints fix

This week I ran into some of my Java projects where the debugging was ignoring breakpoints in my JBoss Develoepr Studio / Eclipse IDE's. I thought this was maybe just something in JBoss Developer Studio (JBDS), but it appears to be an issue with Eclipse too. 
This was the fix for me, in JBDS /Eclipse:
 
Window -> Preferences -> Java -> Installed JRE's:
  • edit JRE being used
    • edit 'Default VM Arguments' line
    • -XX:+UseParallelGC
Fixes it for me!