dotnet / dotnet/runtime

NET10 applications can crash with HRESULT=0x8013132d error when running debugger in VS2022 and VS2026

Open
#124,913 13 comments 0 reactions 1 assignee Claimed by @tommcdon View on GitHub
area-Diagnostics-coreclr
Dominant language
C#
Stars
18.3k
Forks
5.6k
PR merge metrics
PR metrics pending

Description

### Description

This was originally filed as a VS Feedback ticket here: https://developercommunity.visualstudio.com/t/HRESULT0x8013132d-error-when-running-de/11022347

### Reproduction Steps

Create a new blank solution.
Inside this new solution, create a new [ASP.NET](http://asp.net/) Core Web API project. Leave all settings on default in doing so.
Start debugging -> Error message pops up.

Image

### Expected behavior

Application runs.

### Actual behavior

Application fails with 0x8013132d CORDBG_E_BAD_THREAD_STATE

### Regression?

Reproduced in .NET 10 (works in .NET 8)

### Known Workarounds

No known workarounds

### Configuration

.NET 10 Windows AnyCPU,

### Other information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.