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 799f165 commit 00a5599Copy full SHA for 00a5599
src/configurationProvider.ts
@@ -471,14 +471,16 @@ export class JavaDebugConfigurationProvider implements vscode.DebugConfiguration
471
const paths: string[] = [];
472
let replaced: boolean = false;
473
for (const p of pathArray) {
474
- if (pathVariables.includes(p)) {
475
- if (!replaced) {
476
- paths.push(...resolvedPaths);
477
- replaced = true;
+ for (const splitPath of p.split(process.platform === 'win32' ? ';' : ':')) {
+ if (pathVariables.includes(splitPath)) {
+ if (!replaced) {
+ paths.push(...resolvedPaths);
478
+ replaced = true;
479
+ }
480
+ continue;
481
}
- continue;
482
+ paths.push(splitPath);
483
- paths.push(p);
484
485
return this.filterExcluded(folder, paths);
486
0 commit comments