Debugger hangs due to runtime deadlock.
- Dominant language
- C#
- Stars
- 18.3k
- Forks
- 5.6k
- PR merge metrics
- PR metrics pending
Description
### Description
https://github.com/dotnet/runtime/issues/123650 was closed and fixed by https://github.com/dotnet/runtime/pull/123651.
However, the issue can still reproduce even with the fix applied, see original issue for stacks.
### Reproduction Steps
Debug a dotnet 10 application with VS.
### Expected behavior
Debuggee run as expected.
### Actual behavior
Runtime can deadlock internally.
### Regression?
_No response_
### Known Workarounds
None known.
### Configuration
.NET 10 windows x64 is where the issue was spotted but code analysis suggests the race condition could probably be hit on other .NET versions, OSes, and architectures if timed properly.
### Other information
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.