C# C/S程序出错:ContextSwitchDeadlock is detected

 选择菜单栏【调试】->【窗口】->【异常设置】

使用快捷键Ctrl + Alt + E,可以快速打开该对话框

通过取消勾选或者勾选进行设置即可。

https://blog.csdn.net/superying/article/details/5363599

原文地址:https://www.cnblogs.com/shy1766IT/p/10732935.html