VS2008的常见问题

来源:互联网 发布:清华大学材料学院知乎 编辑:程序博客网 时间:2024/05/16 06:40

1. No symbols are loaded for any call stack frame. The source code can not be displayed.  ContextSwitchDeadlock was detected

ANS:

The ContextSwitchDeadlock doesn't necessarily mean your code has an issue, just that there is a potential. If you go to Debug > Exceptions in the menu and expand the "Managed Debugging Assistants", you will find ContextSwitchDeadlock is enabled. If you disable this, VS will no longer warn you when items are taking a long time to process. In some cases you may validly have a long-running operation. It's also helpful if you are debugging and have stopped on a line while this is processing - you don't want it to complain before you've had a chance to dig into an issue.

0 0
原创粉丝点击