mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
44 lines
1.5 KiB
JSON
44 lines
1.5 KiB
JSON
|
|
{
|
||
|
|
"version": "0.2.0",
|
||
|
|
"configurations": [
|
||
|
|
{
|
||
|
|
"name": "(lldb) Launch",
|
||
|
|
"type": "cppdbg",
|
||
|
|
"request": "launch",
|
||
|
|
"program": "${command:cmake.launchTargetPath}",
|
||
|
|
"args": [],
|
||
|
|
"stopAtEntry": false,
|
||
|
|
"cwd": "${workspaceFolder}",
|
||
|
|
"environment": [],
|
||
|
|
"externalConsole": true,
|
||
|
|
"MIMode": "lldb",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "(gdb) Launch",
|
||
|
|
"type": "cppdbg",
|
||
|
|
"request": "launch",
|
||
|
|
// Resolved by CMake Tools:
|
||
|
|
"program": "${command:cmake.launchTargetPath}",
|
||
|
|
"args": [],
|
||
|
|
"stopAtEntry": false,
|
||
|
|
"cwd": "${workspaceFolder}",
|
||
|
|
"externalConsole": true,
|
||
|
|
"MIMode": "gdb",
|
||
|
|
"setupCommands": [
|
||
|
|
{
|
||
|
|
"description": "Enable pretty-printing for gdb",
|
||
|
|
"text": "-enable-pretty-printing",
|
||
|
|
"ignoreFailures": true
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
{
|
||
|
|
"cwd": "${workspaceRoot}",
|
||
|
|
"executable": "${command:cmake.launchTargetPath}",
|
||
|
|
"name": "Debug Microcontroller",
|
||
|
|
"request": "launch",
|
||
|
|
"type": "cortex-debug",
|
||
|
|
"servertype": "jlink"
|
||
|
|
},
|
||
|
|
]
|
||
|
|
}
|