Skip to content

Commit 8c7e4a3

Browse files
support string cp splitting
1 parent 16e91c7 commit 8c7e4a3

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

src/configurationProvider.ts

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -471,14 +471,16 @@ export class JavaDebugConfigurationProvider implements vscode.DebugConfiguration
471471
const paths: string[] = [];
472472
let replaced: boolean = false;
473473
for (const p of pathArray) {
474-
if (pathVariables.includes(p)) {
475-
if (!replaced) {
476-
paths.push(...resolvedPaths);
477-
replaced = true;
474+
for (const splitPath of p.split(':')) {
475+
if (pathVariables.includes(splitPath)) {
476+
if (!replaced) {
477+
paths.push(...resolvedPaths);
478+
replaced = true;
479+
}
480+
continue;
478481
}
479-
continue;
482+
paths.push(splitPath);
480483
}
481-
paths.push(p);
482484
}
483485
return this.filterExcluded(folder, paths);
484486
}

0 commit comments

Comments
 (0)