Skip to content

Commit da18921

Browse files
committed
set the MIMode explicitly
1 parent 68dddd8 commit da18921

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Extension/test/scenarios/RunWithoutDebugging/tests/runWithoutDebugging.integration.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,7 @@ suite('Run Without Debugging Integration Test', function (): void {
252252
const executablePath = path.join(workspacePath, executableName);
253253
const sessionName = 'Debug Launch Breakpoint Stop';
254254
const debugType = isWindows ? 'cppvsdbg' : 'cppdbg';
255+
const miMode = isMacOS ? 'lldb' : 'gdb';
255256

256257
await compileProgram(workspacePath, sourceFile, executablePath);
257258

@@ -278,6 +279,7 @@ suite('Run Without Debugging Integration Test', function (): void {
278279
program: executablePath,
279280
args: [],
280281
cwd: workspacePath,
282+
MIMode: debugType === 'cppdbg' ? miMode : undefined,
281283
externalConsole: debugType === 'cppdbg' ? false : undefined,
282284
console: debugType === 'cppvsdbg' ? 'internalConsole' : undefined
283285
},

0 commit comments

Comments
 (0)