If you have 2 threads, and you are debugging between them, it seems the debug point always stops at only one thread, and lose the focus on the other, the trick to fix it is
Preferences->Java->Debug->Default suspend policy for new breakpoints: choose "Suspend VM"