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