Eclipse does not recognize breakpoints
I am having this weird error in eclipse where I only set my breakpoints through it, not going through the breakpoint where the method is called. I know it bypasses it for the reason that the only method that gets called is on the set of breakpoints.
Has anyone faced such a problem or knew a fix?
Started eclipse and this time I was able to debug correctly. Strange mistake. I am not sure if I know the cause and effect.
Make sure Run> Ignore All Breakpoints is not enabled.
there can be many reasons:
The most common:
- .java and .class are out of sync.
- wrong version of the JVM runtime
- debug info removed from generated class
- classpath mismatch, like compiling eclipse to bin / and your runtime picking classes from classes / (this assumes you are compiling from the command line as well)
- Installing Bad Eclipse
First try to clean your project using pure function
Project> clean ...
Check if you have beans declared in xml file. If so, please check if they are commented, we need to split them.
In my case, I have a bean declaration in my XML file for that particular bean and it is not loaded during server startup. So my debug points are not included.
I have uncommented my bean entry, then I can check the debug points and it works.
hope this helps.