-
Notifications
You must be signed in to change notification settings - Fork 676
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debugger not working ARM64 M1 Mac Azure Functions 4 .NET 6 Unknown Error: 0x80131c3c #4900
Comments
I believe the problem here is that the way process picker commands work they can only specify one property: This extension at least has a bug that we don't seem to specify Assuming that is it, this issue should probably move to the https://github.com/Microsoft/vscode-azurefunctions to provide a "${command:azureFunctions.targetArchitecture}" command. |
Yep. The extension attempts to use the dotnet information to determine which architecture to use. However, if we fail to get this dotnet information, it uses the architecture of VS Code. @EthanSK Which version of VS Code are you using? I can update the OptionsSchema and md file to add |
@WardenGnaw I have Apple Silicon only VS Code version: 1.62.2 commit 3a6960b964327f0e3882ce18fcebd07ed191b316 |
@EthanSK Did it work for you after changing your launch.json to:
|
@gregg-miskelly Oh. nice. that worked :D interesting... |
Thanks. I edited the original comment to add the work around, and I opened microsoft/vscode-azurefunctions#3005 to track fixing the issue. |
Steps to reproduce
Start VSCode debugger with Azure Functions v4 core tools on .net6 with the following launch.json config:
Expected behavior
Debugger should work
Actual behavior
Failed to attach to process: Unknown Error: 0x80131c3c
Work around:
Modify
launch.json
and add"targetArchitecture": "x86_64"
dotnet --info output
.NET SDK (reflecting any global.json):
Version: 6.0.100
Commit: 9e8b04bbff
Runtime Environment:
OS Name: Mac OS X
OS Version: 12.0
OS Platform: Darwin
RID: osx-arm64
Base Path: /usr/local/share/dotnet/sdk/6.0.100/
Host (useful for support):
Version: 6.0.0
Commit: 4822e3c3aa
.NET SDKs installed:
6.0.100 [/usr/local/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.0 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.0 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
To install additional .NET runtimes or SDKs:
https://aka.ms/dotnet-download
Azure functions info
Azure Functions Core Tools
Core Tools Version: 4.0.3971 Commit hash: d0775d487c93ebd49e9c1166d5c3c01f3c76eaaf (64-bit)
Function Runtime Version: 4.0.1.16815
Environment information
VSCode version: 1.62.2
C# Extension: 1.23.16
Mono Information
OmniSharp using built-in monoDotnet Information
.NET SDK (reflecting any global.json): Version: 6.0.100 Commit: 9e8b04bbffRuntime Environment:
OS Name: Mac OS X
OS Version: 12.0
OS Platform: Darwin
RID: osx-arm64
Base Path: /usr/local/share/dotnet/sdk/6.0.100/
Host (useful for support):
Version: 6.0.0
Commit: 4822e3c3aa
.NET SDKs installed:
6.0.100 [/usr/local/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.0 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.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
VS Code version: 1.62.2 commit 3a6960b964327f0e3882ce18fcebd07ed191b316
C# Extension version: v1.23.16
OmniSharp log
The text was updated successfully, but these errors were encountered: