diff --git a/integration/vscode/ada/test/suite/general/debug.test.ts b/integration/vscode/ada/test/suite/general/debug.test.ts index 74db5dbc0..33a515a59 100644 --- a/integration/vscode/ada/test/suite/general/debug.test.ts +++ b/integration/vscode/ada/test/suite/general/debug.test.ts @@ -41,7 +41,7 @@ suite('Debug Configurations', function () { "ignoreFailures": true } ], - "miDebuggerPath": "${getOrFindGdb() ?? ''}" + "miDebuggerPath": "${getOrFindGdb()?.replace(/\\/g, '\\\\') ?? ''}" }, { "name": "Ada: Attach debugger to running process - src/main1.adb", @@ -50,7 +50,7 @@ suite('Debug Configurations', function () { "program": "\${workspaceFolder}/obj/main1exec${exe}", "processId": "\${command:pickProcess}", "MIMode": "gdb", - "miDebuggerPath": "${getOrFindGdb() ?? ''}" + "miDebuggerPath": "${getOrFindGdb()?.replace(/\\/g, '\\\\') ?? ''}" }, { "type": "cppdbg",