需要改路径,可以调试,监控寄存器,变量的实时切换
c
{
// 使用 IntelliSense 了解相关属性。
// 悬停以查看现有属性的描述。
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"cwd": "${workspaceFolder}",
"executable": "./build/SK36V1XX/SK36V1xx.axf",
"name": "Debug with JLink GD",
"request": "launch",
"type": "cortex-debug",
"device": "GD32F205ZE",
"runToEntryPoint": "main",
"showDevDebugOutput": "none",
"servertype": "jlink",
"svdFile": "./.pack/GigaDevice/GD32F20x_DFP.2.4.0/SVD/GD32F20x_CL.svd",
"liveWatch": {
"enabled": true,
"samplesPerSecond": 4
}
}
]
}