Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite5b3564

Browse files
committed
remove leading and tailing '"' for jlinkscript args in debug config
1 parenta1b0b98 commite5b3564

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎src/extension.ts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2081,7 +2081,9 @@ class ExternalDebugConfigProvider implements vscode.DebugConfigurationProvider {
20812081
// -JLinkScriptFile <ScriptFilePath>
20822082
m=/-JLinkScriptFile([^\s"]+|"[^"]+")/.exec(flasherCfg.otherCmds);
20832083
if(m&&m.length>1)
2084-
dbgCfg['jlinkscript']=m[1];
2084+
dbgCfg['jlinkscript']=m[1].startsWith('"')
2085+
?m[1].substring(1,m[1].length-1)
2086+
:m[1];
20852087
}
20862088
result.push(dbgCfg);
20872089
result.push(newAttachDebugCfg(dbgCfg));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp