• 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
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

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

 
Ranch Hand
Posts: 1115
4
  • 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!
 
Brace yourself while corporate america tries to sell us its things. Some day they will chill and use tiny ads.
ScroogeXHTML - small and flexible RTF to HTML converter library
https://coderanch.com/t/710903/ScroogeXHTML-RTF-HTML-XHTML-converter
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!