How to get gdb working with Eclipse CDT under windows (fails to find source code)

前端 未结 5 2073
孤城傲影
孤城傲影 2021-02-04 10:03

I installed cygwin (the latest 1.7.xx?), and then installed eclipse cdt (Juno).

When I tried to build a hello world project, despite eclipse identifying that cygwin was

5条回答
  •  长发绾君心
    2021-02-04 10:10

    Go to Windows->Preference->C/C++ -> Debug -> Source Lookup Path. Add following 'Path mapping'.

    \cygdrive\c -> c:\
    

提交回复
热议问题