Skip to content

[NETSDKE2E][Regression] With VSCode on Linux, debugging a .NET 9 project is failed with Unknown Error 0x80131c3c Unable to attach to CoreCLR. #96747

Closed
@NicoleWang001

Description

@NicoleWang001

Description

With VSCode on Linux, debugging a .NET 9 project is failed with Unknown Error 0x80131c3c Unable to attach to CoreCLR.

Reproduction Steps

  1. On Ubuntu 23.04 or 20.04, install VSCode with C# extension or CDK extension.
  2. Install .NET 9.0.100-alpha.1.24059.25
  3. Create a console app and open its folder via VSCode
  4. Debug it and observe

Expected behavior

Debugging works fine.

Actual behavior

Debugging is failed with Unknown Error 0x80131c3c Unable to attach to CoreCLR.
image

Regression?

This issue is not repro with previous build .NET 9.0.100-alpha.1.24053.14

Known Workarounds

No response

Configuration

OS: Ubuntu 23.04 X64 or Ubuntu 20.04
VS Code version:1.85.1
C# Extension version:2.14.8
.NET SDK: 9.0.100-alpha.1.24059.25 from dotnet/installer: .NET SDK Installer (github.com)

dotnet --info output:
.NET SDK:
Version: 9.0.100-alpha.1.24059.25
Commit: db253f6088
Workload version: 9.0.100-manifests.d08d94a9

Runtime Environment:
OS Name: ubuntu
OS Version: 23.04
OS Platform: Linux
RID: linux-x64
Base Path: /usr/share/dotnet/sdk/9.0.100-alpha.1.24059.25/

.NET workloads installed:
There are no installed workloads to display.

Host:
Version: 9.0.0-alpha.1.24058.10
Architecture: x64
Commit: b4ec422

.NET SDKs installed:
9.0.100-alpha.1.24059.25 [/usr/share/dotnet/sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 9.0.0-alpha.1.24058.9 [/usr/share/dotnet/shared/Micsoft.AspNetCore.App]
Microsoft.NETCore.App 9.0.0-alpha.1.24058.10 [/usr/share/dotnet/shared/Microft.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

Other information

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions