java - Debugging Maven Eclipse projects, and stepping through the code? -


i have 2 projects, , b, both maven projects. project has dependency on project b in it's pom.xml.

they both local projects in workspace, when run project want place breakpoint on project b , step through code, doesn't work. instead, breakpoint hits , stops says source not found, , shows using jar file installed in local maven repository.

i tried going project a's build path configs , referencing project b there, didn't make difference.

how can step through code on project b when running project a? since both local i'm sure there's got way... such simple use case, must missing something.

any appreciated! thanks!

open properties of project context menu, click on maven , checkbox resolve dependencies workspace project. if unset, explain behaviour you're seeing.

in case, activating checkbox , running maven | update project should solve issue.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

jsf - How to ajax update an item in the footer of a PrimeFaces dataTable? -

django - CSRF verification failed. Request aborted. CSRF cookie not set -