Unable to start debugging.The value of miDebuggerPath is invalid

ccg_nj
Posts: 2
Joined: Tue Feb 21, 2023 3:39 am

Unable to start debugging.The value of miDebuggerPath is invalid

Postby ccg_nj » Tue Feb 21, 2023 3:46 am

嵌入式新手,使用esp32-s3的开发板,想debug,按文档步骤,按F5报错,看输出内容得知,
设置如下:
"miDebuggerPath": "${command:espIdf.getXtensaGdb}",

实际输出是两个路径黏在一起了,如下:
"miDebuggerPath":"D:\\esp\\.espressif\\tools\\xtensa-esp-elf-gdb\\11.2_20220823\\xtensa-esp-elf-gdb\\bin\\xtensa-esp32s3-elf-gdb.exe\r\nD:\\esp\\.espressif\\tools\\xtensa-esp32s3-elf\\esp-2022r1-11.2.0\\xtensa-esp32s3-elf\\bin\\xtensa-esp32s3-elf-gdb.exe",

IDF配置 custom extra paths如下:
D:\esp\.espressif\tools\xtensa-esp-elf-gdb\11.2_20220823\xtensa-esp-elf-gdb\bin;D:\esp\.espressif\tools\riscv32-esp-elf-gdb\11.2_20220823\riscv32-esp-elf-gdb\bin;D:\esp\.espressif\tools\xtensa-esp32-elf\esp-2022r1-11.2.0\xtensa-esp32-elf\bin;D:\esp\.espressif\tools\xtensa-esp32s3-elf\esp-2022r1-11.2.0\xtensa-esp32s3-elf\bin;D:\esp\.espressif\tools\riscv32-esp-elf\esp-2022r1-11.2.0\riscv32-esp-elf\bin;D:\esp\.espressif\tools\esp32ulp-elf\2.35_20220830\esp32ulp-elf\bin;D:\esp\.espressif\tools\cmake\3.24.0\bin;D:\esp\.espressif\tools\openocd-esp32\v0.11.0-esp32-20221026\openocd-esp32\bin;D:\esp\.espressif\tools\ninja\1.10.2;D:\esp\.espressif\tools\idf-exe\1.0.3;D:\esp\.espressif\tools\ccache\4.6.2\ccache-4.6.2-windows-x86_64;D:\esp\.espressif\tools\dfu-util\0.9\dfu-util-0.9-win64
看起来并不问题。

请问各位大佬,为啥miDebuggerPath输出路径,是两个黏在一起呢?

Who is online

Users browsing this forum: No registered users and 65 guests