Could “attach source” be made easier for popular Java libraries?

前端 未结 5 2115
我寻月下人不归
我寻月下人不归 2021-02-11 05:06

I run into this obstacle when my debugger steps into some classfile without corresponding source. Finding it is often difficult:

  • You have to search for the sit

5条回答
  •  广开言路
    2021-02-11 05:50

    we do something similar to Andreas. Our lib directory has subdirectories categorizing further. One such sub dir is source or debug which has the source JAR/ZIPs of all the jars that we want to debug. Do it once and you're good. We use an IVY repository for the jars and source jars.

提交回复
热议问题