Currently trying to hunt a potential race condition, I paused my WinForms application in the visual studio debugger.
The Threads window shows a lot of thread which one of them I suspect to be the root cause for the blocking.
I would now love to do the following:
Unfortunately I found no option that would allow me to do something like that.
My question:
Is it possible to kill/terminate a certain thread in the Visual Studio 2013 debugger?
In the Threads window, right-click any thread and then select Freeze. A Pause icon in the Current Thread column indicates that the thread is frozen.
To end a debugging session in Microsoft Visual Studio, from the Debug menu, choose Stop Debugging.
foreach (Form form in Application. OpenForms) { form. Close(); } Application. Exit();
From Microsoft Technet I found Process Explorer that can solve your problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With