“No source available for main()” error when debugging simple C++ in Eclipse with gdb

后端 未结 13 1523
醉梦人生
醉梦人生 2020-12-29 04:51

I\'m having trouble debugging a C++ program in Eclipse (the latest RC of Helios, updated with latest CDT from within itself) on OSX.

The program is very simple (esen

13条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-29 05:29

    For anyone else who may experience this issue,

    I installed the linuxtools/valgrind plugin last night to do some memory profiling, and it seems that this broke the normal gdb. when i removed the linuxtools plugins everything started working as normal again.

    So you might like to try that.

提交回复
热议问题