From 8c7e4a3d23a621847b35719dec949bc6203cc55e Mon Sep 17 00:00:00 2001 From: Taylore Thornton Date: Mon, 9 Jun 2025 16:29:56 -0400 Subject: [PATCH] support string cp splitting --- src/configurationProvider.ts | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/configurationProvider.ts b/src/configurationProvider.ts index 5b4ce384..176fddf5 100644 --- a/src/configurationProvider.ts +++ b/src/configurationProvider.ts @@ -471,14 +471,16 @@ export class JavaDebugConfigurationProvider implements vscode.DebugConfiguration const paths: string[] = []; let replaced: boolean = false; for (const p of pathArray) { - if (pathVariables.includes(p)) { - if (!replaced) { - paths.push(...resolvedPaths); - replaced = true; + for (const splitPath of p.split(':')) { + if (pathVariables.includes(splitPath)) { + if (!replaced) { + paths.push(...resolvedPaths); + replaced = true; + } + continue; } - continue; + paths.push(splitPath); } - paths.push(p); } return this.filterExcluded(folder, paths); }