This repository has been archived on 2024-01-06. You can view files and clone it, but cannot push or open issues or pull requests.
justhomework/SoftwareDesign/.vscode/launch.json

26 lines
1 KiB
JSON
Raw Normal View History

{
"version": "0.2.0",
"configurations": [
{
2022-03-11 12:55:47 +00:00
"name": "gdb",
"type": "cppdbg",
"request": "launch",
"program": "${fileDirname}\\${fileBasenameNoExtension}.exe",
"args": [],
2022-03-11 12:55:47 +00:00
"stopAtEntry": true, // 设为true时程序将暂停在程序入口处我一般设置为true
"cwd": "C:/Project/LLVM/bin",//自己的编译器路径,自行修改
"environment": [],
2022-03-11 12:55:47 +00:00
"externalConsole": true, // 调试时是否显示控制台窗口一般设置为true显示控制台
"MIMode": "gdb",
2022-03-11 12:55:47 +00:00
"miDebuggerPath": "C:\\Project\\LLVM\\bin\\gdb.exe",//自己的gdb路径自行修改
"setupCommands": [
{
2022-03-11 12:55:47 +00:00
"description": "gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
],
2022-03-11 12:55:47 +00:00
"preLaunchTask": "Compile"//可以随意更改保证与tasks.json的label相同
}
]
}