Modified VsCode Launch.json for enable gdb pretty-printing
This commit is contained in:
parent
f6e70335f9
commit
20d1c5576f
11
.vscode/launch.json
vendored
11
.vscode/launch.json
vendored
@ -7,12 +7,21 @@
|
|||||||
"request": "launch",
|
"request": "launch",
|
||||||
"preLaunchTask": "project_debug_build_task", // 预构建脚本
|
"preLaunchTask": "project_debug_build_task", // 预构建脚本
|
||||||
"program": "${workspaceFolder}\\Build\\Debug\\DLT_Splitter.exe", // 调试目标
|
"program": "${workspaceFolder}\\Build\\Debug\\DLT_Splitter.exe", // 调试目标
|
||||||
"args": [ // 附加参数
|
"args": [
|
||||||
|
// 附加参数
|
||||||
],
|
],
|
||||||
"stopAtEntry": false,
|
"stopAtEntry": false,
|
||||||
"cwd": "${workspaceFolder}", // 工作目录
|
"cwd": "${workspaceFolder}", // 工作目录
|
||||||
"environment": [],
|
"environment": [],
|
||||||
"externalConsole": false,
|
"externalConsole": false,
|
||||||
|
"setupCommands": [
|
||||||
|
{
|
||||||
|
// 启用优化打印输出
|
||||||
|
"description": "Enable pretty-printing for gdb",
|
||||||
|
"text": "-enable-pretty-printing",
|
||||||
|
// "ignoreFailures": true
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user