Closed cvanbeek13 closed 9 months ago
I think this is related to #81
Hi! Thanks for looking into this and creating a pull request! This might very well be the issue. I have stared at that line several times thinking there was nothing wrong. Will verify it and if everything is good I will implement it as a hot fix.
In my project, every time I opened VSCode, the
cortex-debug.openocdPath
variable was written to mysettings.json
or.code-workspace
file, even though I had it set in my usersettings.json
file.I believe this issue was fixed by changing this comparison. Previously,
tools.openOCDPath
was an object, andcortexDebugSetting.get('openocdPath')
returned a string. This forces the types to be the same so that the actual settings are compared.