Debug TDMGCC with VSCODE in win7

妖狐艹你老母 2021-09-22 14:14 375阅读 0赞

Envriment:

win7,

lastest vscode,

TDMGCC,

Debug Step:

  1. Press ‘F5’, will let you choice a item, as bellow:

70

click the “c++ (GDB/LLDB)”.

2.Then will be creat a file name “launch.json”, open it and modify 2 place:

“program”: “${workspaceFolder}/test.exe”,

“miDebuggerPath”: “C:\\TDM-GCC-64\\bin\\gdb.exe”,

like following:

70 1

3.Press “F5” again, now you can debug it.

Note: You must add “-g” as the GCC compile parameter.

发表评论

表情:
评论列表 (有 0 条评论,375人围观)

还没有评论,来说两句吧...

相关阅读