Setting up VSCode for C/C++ debugging on Window 7 with gcc, g++ and gdb

后端 未结 3 707
一生所求
一生所求 2021-01-14 06:33

I was following instructions from here. Installed cpptools. Created tasks.json with following contents:

{
    \"version\": \"0.1.0\",
    \"comm         


        
3条回答
  •  独厮守ぢ
    2021-01-14 06:52

    I have faced this issue before. In my case, the compiler generated a release application as default. It has no symbols for debugging.

    So, please make sure that you are generated a debug app for debugging.

    good luck!

提交回复
热议问题