Skip to content

Option to run the .NET Core debugger under Rosetta 2 when using the Apple Silicon version of VSCode #4277

@sschultze

Description

@sschultze

Issue Description

Steps to Reproduce

Use the current Apple Silicon (ARM) version of the Visual Studio Code Exploration build. Open a .NET 5 project and try to run the debugger.

Expected Behavior

The .NET Core debugger should run under Rosetta 2, just like it happens automatically when you run the "official" x64 version of Visual Studio Code under Rosetta 2.

Actual Behavior

A warning is displayed: "[WARNING]: Processor architecture 'arm64' is not currently supported by the .NET Core debugger. Debugging will not be available."

Logs

OmniSharp log

Post the output from Output-->OmniSharp log here

C# log

Post the output from Output-->C# here

Environment information

VSCode version: 1.53.0-exploration
C# Extension: 1.23.7

Mono Information OmniSharp using built-in mono
Dotnet Information .NET SDK (reflecting any global.json): Version: 5.0.100 Commit: 5044b93829

Runtime Environment:
OS Name: Mac OS X
OS Version: 11.0
OS Platform: Darwin
RID: osx.11.0-x64
Base Path: /usr/local/share/dotnet/sdk/5.0.100/

Host (useful for support):
Version: 5.0.0
Commit: cf258a14b7

.NET SDKs installed:
5.0.100 [/usr/local/share/dotnet/sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 5.0.0 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 5.0.0 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET runtimes or SDKs:
https://aka.ms/dotnet-download

Visual Studio Code Extensions
Extension Author Version
csharp ms-dotnettools 1.23.7
debugger-for-chrome msjsdiag 4.12.11
EditorConfig EditorConfig 0.16.4
hexeditor ms-vscode 1.3.0
ilspy-vscode icsharpcode 0.9.0
markdown-toc AlanWalk 1.5.6
prettier-vscode esbenp 5.8.0
remote-containers ms-vscode-remote 0.154.0
remote-ssh ms-vscode-remote 0.58.0
remote-ssh-edit ms-vscode-remote 0.58.0
remote-wsl ms-vscode-remote 0.52.0
rest-client humao 0.24.4
snapshot-tools asvetliakov 0.4.0
toggle rebornix 0.0.1
vscode-docker ms-azuretools 1.8.1
vscode-eslint dbaeumer 2.1.13
vscode-remote-extensionpack ms-vscode-remote 0.20.0
vscode-typescript-tslint-plugin ms-vscode 1.2.3

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions