Skip to content

VS code Windows ARM (Snapdragon) - Debugger Failed to attach to process: The .NET debugger can only debug x64 processes #8516

@ValerioFG

Description

@ValerioFG

Issue Description

When trying to run the debug on Dell with Snapdragon ARM, the debugger ends with an errorr : Debugger Failed to attach to process: The .NET debugger can only debug x64

I can build and run the Azure function with Func host start without issue

Function are .net8
I have the .net8 ARM version.

I don't understand what's wrong because was working before.

My launch.json looks like this:

{ "version": "0.2.0", "configurations": [ { "name": "Attach to .NET Functions", "type": "coreclr", "request": "attach", "processId": "${command:azureFunctions.pickProcess}", "targetArchitecture": "x86_64" } ] }

PS C:\me\Github\admin-csharp-data-warehouse-services\src> dotnet --list-sdks 8.0.413 [C:\Program Files\dotnet\sdk]

Steps to Reproduce

Run -> Start Debugger on vscode

Expected Behavior

The Function should run without error

Actual Behavior

Debugger crash

Logs

C# log

Post the output from Output-->C# here

C# LSP Trace Logs

Post the output from Output-->C# LSP Trace Logs here. Requires the `C#` output window log level to be set to `Trace`

Environment information

VSCode version: 1.102.3
C# Extension: 2.84.19
Using OmniSharp: false

Dotnet Information

Host:
Version: 9.0.8
Architecture: arm64
Commit: aae90fa090
RID: win-arm64

.NET SDKs installed:
No SDKs were found.

.NET runtimes installed:
Microsoft.AspNetCore.App 9.0.8 [c:\Users\me\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime.dotnet\9.0.8arm64aspnetcore\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 9.0.8 [c:\Users\me\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime.dotnet\9.0.8arm64aspnetcore\shared\Microsoft.NETCore.App]

Other architectures found:
None

Environment variables:
Not set

global.json file:
Not found

Learn more:
https://aka.ms/dotnet/info

Download .NET:
https://aka.ms/dotnet/download

Visual Studio Code Extensions
Extension Author Version Folder Name
azurite Azurite 3.35.0 azurite.azurite-3.35.0
csdevkit ms-dotnettools 1.30.44 ms-dotnettools.csdevkit-1.30.44-win32-arm64
csharp ms-dotnettools 2.84.19 ms-dotnettools.csharp-2.84.19-win32-arm64
vscode-azurefunctions ms-azuretools 1.18.1 ms-azuretools.vscode-azurefunctions-1.18.1
vscode-azureresourcegroups ms-azuretools 0.11.1 ms-azuretools.vscode-azureresourcegroups-0.11.1
vscode-dotnet-runtime ms-dotnettools 2.3.7 ms-dotnettools.vscode-dotnet-runtime-2.3.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions