【发布时间】:2019-09-10 07:45:44
【问题描述】:
我尝试调试我的 C 代码,但我的断点被忽略。 我的系统是 Windows 10。VS-Code 版本是 1.38。
这是我的 launch.json 条目:
{
"name": "(gdb) Launch",
"type": "cppdbg",
"request": "launch",
"program": "C:/Users/NCH-Lap10/Desktop/aaa.exe",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": true,
"MIMode": "gdb",
"miDebuggerPath": "C:/TDM-GCC-64/bin/gdb.exe",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
],
},
我会很感激任何提示。 我可以提供更多信息吗?
【问题讨论】:
标签: c visual-studio-code gdb vscode-debugger