I found the below funny scenario when I was debugging my Java application using NetBeans 5.5, where the debugging line will go into comment, even empty line.
yoo-hoo! it get to debug as normal when I try to put a simple print line statement and set the breakpoint there, then start debug again 😉