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

后端 未结 13 1517
醉梦人生
醉梦人生 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:34

    I had this issue when I compiled the latest gcc, but did not update to the most recent gdb. After the update, it worked properly.

提交回复
热议问题