2022-09-18 06:46:42 +00:00
|
|
|
{
|
|
|
|
// 使用 IntelliSense 了解相关属性。
|
|
|
|
// 悬停以查看现有属性的描述。
|
|
|
|
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
|
|
|
|
"version": "0.2.0",
|
|
|
|
"configurations": [
|
|
|
|
{
|
|
|
|
"name": "(gdb) 启动",
|
|
|
|
"type": "cppdbg",
|
|
|
|
"request": "launch",
|
2023-03-30 10:11:42 +00:00
|
|
|
"program": "${workspaceFolder}/ddish",
|
2022-09-18 06:46:42 +00:00
|
|
|
"args": [],
|
|
|
|
"stopAtEntry": false,
|
|
|
|
"cwd": "${fileDirname}",
|
|
|
|
"environment": [],
|
|
|
|
"externalConsole": false,
|
|
|
|
"MIMode": "gdb",
|
|
|
|
"setupCommands": [
|
|
|
|
{
|
|
|
|
"description": "为 gdb 启用整齐打印",
|
|
|
|
"text": "-enable-pretty-printing",
|
|
|
|
"ignoreFailures": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"description": "将反汇编风格设置为 Intel",
|
|
|
|
"text": "-gdb-set disassembly-flavor intel",
|
|
|
|
"ignoreFailures": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
]
|
|
|
|
}
|