Tag: vscode settings

使用gcc,g ++和gdb在Window 7上为C / C ++调试设置VSCode

我在这里遵循指示。 安装了cpptools。 使用以下内容创建tasks.json : { “version”: “0.1.0”, “command”: “g++”, “isShellCommand”: true, “showOutput”: “always”, “args”: [“-g”, “helloworld.c”] } 并且launch.json包含以下内容: { “version”: “0.2.0”, “configurations”: [ { “name”: “C++ Launch (Windows)”, “type”: “cppvsdbg”, “request”: “launch”, “program”: “${workspaceRoot}/a.exe”, “args”: [], “stopAtEntry”: false, “cwd”: “${workspaceRoot}”, “environment”: [], “externalConsole”: false, “windows”: { “MIMode” : “gdb”, “miDebuggerPath”: “C:\\Mahesh\\Program Files\\mingw\\MinGW\\bin\\gdb.exe” } }, { […]