Skip to content

Commit

Permalink
Add warning when x86 windows is used (dotnet#998)
Browse files Browse the repository at this point in the history
  • Loading branch information
gregg-miskelly authored and WardenGnaw committed Nov 29, 2016
1 parent 8a1e62a commit 3a51831
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/coreclr-debug/activate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.`);
Expand Down

0 comments on commit 3a51831

Please sign in to comment.