From 3a518310f5b7b34d47c19b77cf93f0c538ad5edd Mon Sep 17 00:00:00 2001 From: Gregg Miskelly Date: Mon, 28 Nov 2016 11:04:20 -0800 Subject: [PATCH] Add warning when x86 windows is used (#998) --- src/coreclr-debug/activate.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/coreclr-debug/activate.ts b/src/coreclr-debug/activate.ts index 4da0598880..bbf5e2fd6d 100644 --- a/src/coreclr-debug/activate.ts +++ b/src/coreclr-debug/activate.ts @@ -23,8 +23,12 @@ export function activate(context: vscode.ExtensionContext, reporter: TelemetryRe if (!CoreClrDebugUtil.existsSync(_debugUtil.debugAdapterDir())) { PlatformInformation.GetCurrent().then((info) => { if (info.runtimeId) { - logger.appendLine("[ERROR]: C# Extension failed to install the debugger package"); - showInstallErrorMessage(channel); + if (info.runtimeId === 'win7-x86') { + logger.appendLine(`[WARNING]: x86 Windows is not currently supported by the .NET Core debugger. Debugging will not be available.`); + } else { + logger.appendLine("[ERROR]: C# Extension failed to install the debugger package"); + showInstallErrorMessage(channel); + } } else { if (info.isLinux) { logger.appendLine(`[WARNING]: The current Linux distribution '${info.distribution.name}' version '${info.distribution.version}' is not currently supported by the .NET Core debugger. Debugging will not be available.`);