microsoft / vscode-embedded-tools

Official issue tracking repository for Microsoft's Embedded Tools VS Code extension.
MIT License
43 stars 3 forks source link

STLink GDB Server discovery does not find CLT's STLink Server. #66

Open schilkp opened 1 year ago

schilkp commented 1 year ago

Type: Bug Report

Describe the bug

To Reproduce

Expected behavior The path of the st link gdb server is echoed into the terminal.

Actual behaviour Error: Could not find the path to "ST-Link_gdbserver". Ensure STM32CubeIDE is installed.

Additional context The debug message would indicate that vscode-embedded-tools is looking for the CubeIDE STLink gdbserver, as opposed to the CLT's. CubeIDE is also installed in the default location (/opt/st/stm32cubeide_1.13.1/), with it's gdb server at /opt/st/stm32cubeide_1.13.1/plugins/com.st.stm32cube.ide.mcu.externaltools.stlink-gdb-server.linux64_2.1.0.202305091550/tools/bin/ST-LINK_gdbserver. According to previous changelogs this plugin should now be prioritizing the CLT version. Therefor the CubeIDE discovery is also likely broken. Furthermore, since CLT should be prioritized (according to your previous changelogs), the error message that CubeIDE should be installed is possibly wrong and misleading.

trembel commented 10 months ago

I can confirm this.

funder7 commented 2 weeks ago

Same problem here, just configured the extension today on Linux.