-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WinformsControlsTest cannot be run under debugger in Visual Studio #64568
Comments
Can you add call stack for this and see if this is something that need to be addressed by runtime? |
That's the only thing I see in the Output window:
|
dotnet/winforms#6573 is the one to blame. I tried the following steps:
|
Tagging subscribers to this area: @tommcdon Issue Details
Problem description: It was found that this problem is caused by dotnet/winforms#6569. WinformsControlsTest still can be run without debugger attached using Ctrl+F5. Debugging also doesn't work if attach the debugger later - breakpoints cannot be hit and there are no assemblies in Modules window. Expected behavior: Minimal repro:
|
@RussKie thanks. Sorry, I was doing that without a VS restart and stopped at a good commit. |
Debugging tests are blocked here. |
Thanks for the bug report - we have found the root cause and are working on a fix: #64523 |
#64523 is merged, so this should be fixed on the next build |
Awesome! |
Closing via #64523 |
.NET Core Version:
7.0.0-beta.22078.2
Have you experienced this same bug with .NET Framework?:
No
Problem description:
WinformsControlsTest cannot be run under debugger using F5 in Visual Studio, the following error is shown:
A fatal error has occurred and debugging needs to be terminated. For more details, please see the Microsoft Help and Support web site. HRESULT=0x80070057. ErrorCode=0x0.
It was found that this problem is caused by
dotnet/winforms#6569dotnet/winforms#6573.WinformsControlsTest still can be run without debugger attached using Ctrl+F5. Debugging also doesn't work if attach the debugger later - breakpoints cannot be hit and there are no assemblies in Modules window.
Expected behavior:
It should be possible to run WinformsControlsTest with debugger attached in Visual Studio.
Minimal repro:
start-vs
.The text was updated successfully, but these errors were encountered: