vscode + st_linkv2 + cortex-debug + openocd不能进入调试
使用环境
<!-- 必须 告知插件运行的环境,帮助开发者定位问题 -->
- 操作系统版本:
- 操作系统平台(x86/x64):
- VsCode 版本:
- EIDE 插件版本:
- C/C++ 插件版本:
- 何种编译器(keil_c51/sdcc/armcc5/armgcc/...):
- 编译器版本(非编译问题可忽略):
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
// For the Cortex-Debug extension
"type": "cortex-debug",
"servertype": "openocd",
"request": "launch",
"name": "Debug ODrive v3.x - ST-Link",
"executable": "${workspaceRoot}/build/ODriveFirmware.elf",
"configFiles": [
"interface/stlink-v2.cfg",
"target/stm32f4x_stlink.cfg",
],
"svdFile": "${workspaceRoot}/Board/v3/STM32F40x.svd",
"cwd": "${workspaceRoot}"
},
描述问题

eading symbols from D:\Users\gcc-arm-none-eabi-7-2018-q2-update-win32\bin\arm-none-eabi-objdump.exe --syms -C -h -w E:\src\ODrive\Firmware/build/ODriveFirmware.elf
Reading symbols from d:/users\gcc-arm-none-eabi-7-2018-q2-update-win32\bin\arm-none-eabi-nm.exe --defined-only -S -l -C -p E:\src\ODrive\Firmware/build/ODriveFirmware.elf
Launching GDB: "D:\Users\gcc-arm-none-eabi-7-2018-q2-update-win32\bin\arm-none-eabi-gdb.exe" -q --interpreter=mi2 "E:\src\ODrive\Firmware/build/ODriveFirmware.elf"
Set "showDevDebugOutput": true in your "launch.json" to see verbose GDB transactions here. Helpful to debug issues or report problems
Launching gdb-server: "D:\Users\OpenOCD\0.10.0-13\bin" -c "gdb_port 50000" -c "tcl_port 50001" -c "telnet_port 50002" -s "E:\src\ODrive\Firmware" -f "c:/Users/zukeq/.vscode/extensions/marus25.cortex-debug-1.4.4/support/openocd-helpers.tcl" -f interface/stlink-v2.cfg -f target/stm32f4x_stlink.cfg
Please check TERMINAL tab (gdb-server) for output from D:\Users\OpenOCD\0.10.0-13\bin
屏幕截图

期望现象
正常调试