• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

Debugger does not go to the changed code unless I do maven install.

 
Ranch Hand
Posts: 1185
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

thanks
 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This article explains how to set up and debug Maven in latest Eclipse version. Hope it helps!
 
Wait for it ... wait .... wait .... NOW! Pafiffle! A perfect tiny ad!
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!