eclipse debugger: attaching source-code of maven dependencies?

前端 未结 4 1164
时光取名叫无心
时光取名叫无心 2021-02-01 20:48

I\'d like to use the source code of maven-managed dependencies when debugging our webapp in myEclipse 8.

I have managed to attach the sources to the libraries in the \"M

4条回答
  •  太阳男子
    2021-02-01 21:17

    Looks like issue MNGECLIPSE-983

    I have confirmed that if I manually pick the External Archive option and find the relevant -sources jar (navigating that big .m2/repository tree to find it) and then add the jar as a sources it does work, and surprisingly it does remember the next time which isn't too bad.
    That's at least doable I think for me because we don't often need to step debug through external dependencies, but when we do, it's often frequent, so adding it once while a bit of a pain, can be done on a case by case basis.

提交回复
热议问题