We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1b0b98 commit e5b3564Copy full SHA for e5b3564
src/extension.ts
@@ -2081,7 +2081,9 @@ class ExternalDebugConfigProvider implements vscode.DebugConfigurationProvider {
2081
// -JLinkScriptFile <ScriptFilePath>
2082
m = /-JLinkScriptFile ([^\s"]+|"[^"]+")/.exec(flasherCfg.otherCmds);
2083
if (m && m.length > 1)
2084
- dbgCfg['jlinkscript'] = m[1];
+ dbgCfg['jlinkscript'] = m[1].startsWith('"')
2085
+ ? m[1].substring(1, m[1].length - 1)
2086
+ : m[1];
2087
}
2088
result.push(dbgCfg);
2089
result.push(newAttachDebugCfg(dbgCfg));
0 commit comments