{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "(gdb) Launch",
"type": "cppdbg",
"request": "launch",
//"program": "/apollo/.cache/bazel/540135163923dd7d5820f3ee4b306b32/execroot/apollo/bazel-out/k8-dbg/bin/cyber/mainboard/mainboard",
//"args": ["-d","/apollo/modules/planning/dag/planning.dag","-p","planning","-s","CYBER_DEFAULT"],
//"args": ["-d","cyber/examples/common_component_example/common.dag"],
// for GPS test
//"args": ["-d","/apollo/modules/localization/dag/dag_streaming_rtk_localization.dag"],
//"args": ["-d", "/apollo/modules/drivers/gnss/dag/gnss.dag"],
// GNSS测试文件入口
"program": "/apollo/.cache/bazel/540135163923dd7d5820f3ee4b306b32/execroot/apollo/bazel-out/k8-dbg/bin/cyber/mainboard/mainboard",
"args": ["-d", "/apollo/modules/drivers/gnss/dag/gnss.dag"],
// Camera 测试文件入口
//"program": "/apollo/.cache/bazel/540135163923dd7d5820f3ee4b306b32/execroot/apollo/bazel-out/k8-dbg/bin/cyber/mainboard/mainboard",
//"args": ["-d", "modules/drivers/camera/dag/camera.dag"],
// dreamview
//"program": "/apollo/.cache/bazel/540135163923dd7d5820f3ee4b306b32/execroot/apollo/bazel-out/k8-dbg/bin/modules/dreamview/dreamview",
// smart_recorder
//"program": "/apollo/.cache/bazel/540135163923dd7d5820f3ee4b306b32/execroot/apollo/bazel-out/k8-dbg/bin/modules/data/tools/smart_recorder/smart_recorder",
"stopAtEntry": true,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
}
]
}
评论0