Skip to content

.NET 9 Applications can randomly freeze when being debugged #112747

@auott

Description

@auott

Description

Debugging a .NET 9 application with Visual Studio can randomly end up freezing the debuggee.
See this issue

Reproduction Steps

Debug an application with many threads that exit while trying to step through code.

Expected behavior

Debuggee does not freeze.

Actual behavior

Debuggee gets stuck with the runtime waiting for all threads to synchronize, but one of the threads being waited has exited so it will never complete.

Regression?

No response

Known Workarounds

No response

Configuration

No response

Other information

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions