I have a maven core java project which I have created in Eclipse. When I change some lines of code and debug it, the debugger does runs but does not pass through the lines of code recently changed (skips them). This works fine if I do a maven install. Do I have to do maven install each time?
Maven install is to build maven project, get all the dependencies. But you just need to do that for the first time or whenever you add dependencies to your project. You don't need to that all the times. When you add some code but eclipse debugger not go into that code then means that it does not build your code, let's try some work around:
- Remember to save your code before build/run/debug
- Set eclipse auto build project
- Refresh project
If it does not works, then your eclipse might have problem!