-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
area-Diagnostics-coreclrquestionAnswer questions and provide assistance, not an issue with source code or documentation.Answer questions and provide assistance, not an issue with source code or documentation.
Milestone
Description
Description
Clicking on any button in WinformsControlsTest application causes the Visual Studio debugger to hang.
cc: @dreddy-work, @RussKie.
Reproduction Steps
- Clone dotnet/winforms repository.
- Open the repository folder in the VS developer command prompt.
- Open the solution by
start-vscommand. - Choose
WinformsControlsTestas the current project on the toolbar. - Start debugging (
F5). - Click on any button on the form or press
Enter.
Expected behavior
The application and the debugger should not hang.
Actual behavior
The application hangs. The debugger cannot be stopped gracefully, VS suggests to force stop it:

Regression?
Caused by dotnet/winforms@9d3c2f8 (dotnet/winforms#6727).
Known Workarounds
Running without debugging helps. The debugger can be attached later, but clicking on any button causes a hang.
Configuration
- Windows 10 Enterprise, 21H2, 19044.1526.
- Tried on Any CPU/x86/x64.
Other information
No response
Metadata
Metadata
Assignees
Labels
area-Diagnostics-coreclrquestionAnswer questions and provide assistance, not an issue with source code or documentation.Answer questions and provide assistance, not an issue with source code or documentation.