Eclipse java debugging: source not found

后端 未结 30 1675
Happy的楠姐
Happy的楠姐 2020-11-22 15:43

While debugging a java app in eclipse I receive a \"Source not found\" error in two cases:

  • Stepping in to a file in a different project which
30条回答
  •  栀梦
    栀梦 (楼主)
    2020-11-22 16:31

    Just 3 steps to configuration Eclipse IDE:

    Note: After updating the Source Lookup paths, you'll have to stop and restart your debug session. Otherwise, the file with the missing source will continue to show "missing source".

    Edit Source Lookup Select the Edit Source Lookup... command [ Edit Source Lookup ] to open the Source Path Dialog, which allows you to make changes to the source lookup path of the selected debug target.

    enter image description here

    enter image description here

    enter image description here

    IMPORTANT Restart Eclipse after this last step.

提交回复
热议问题