Thanks for replying, here is the launch.json
file
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "stm8-debug",
"request": "launch",
"name": "stm8 debug",
"serverType": "stm8-sdcc",
"openOcdConfigs": [
"interface/stlink.cfg",
"target/stm8s207.cfg"
],
"executable": "${workspaceRoot}\\build\\main.elf",
"cpu": "STM8S207RB"
},
]
}
note : I run openocd manually from the terminal, the stm8s207.cfg is not included by default in openocd package, I added it later, but it works fine
It works fine on my pc, maybe you need reinstall stm8-debug !
I tried reinstalling the latest version or even older ones but still the same problem