首次成功调试后,Visual Studio 2015无法正常工作 [英] Visual Studio 2015 not working after first successful debug

查看:81
本文介绍了首次成功调试后,Visual Studio 2015无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已将Visual Studio 2015更新为第一次更新.从那时起,我无法连续两次调试代码.它是这样的:

I have updated Visual Studio 2015 to the first update. Since then I cannot debug my code twice in a row. It goes like this:

  1. 我启动VS并尝试调试.到目前为止还可以
  2. 更改代码,构建和调试.
  3. 尝试访问网络,但它永远不会加载.

如果我关闭VS并再次加载解决方案,则它可以工作,或者如果我在步骤2中未更改代码.

If I close the VS and load the solution again it works or If I do not change code in step 2.

我注意到的另一件事是IIS Express Worker进程占用了大部分CPU时间.

Other thing I noticed is the IIS Express Worker process is consuming most of CPU time.

而且显然没有加载符号(我在状态栏中看不到DLL加载的消息).

And apparently the symbols are not loaded (I do not see the messages of DLL loading in the status bar).

这使我的开发过程非常缓慢且乏味.

This is making my development process very slow and tedious.

解决方案是4.6.1框架下的MVC项目.

The solution is a MVC project under 4.6.1 framework.

有什么想法吗?非常感谢!!

Any ideas? Thank you very much!!

推荐答案

您应该将Visual Studio引导到安全模式.要进入安全模式,请执行以下操作:

You should boot Visual Studio into Safe Mode. To enter safe mode do the following:

  1. 以管理员身份打开命令提示符.
  2. 输入: cd C:\ Program Files(x86)\ Microsoft Visual Studio 14.0
  3. 输入 devenv.exe/safemode

如果Visual Studio确实进行了加载和调试,那么罪魁祸首就是扩展或更新.这将使您还可以查看可能发生了哪些更新.另一个潜在的问题是您的Internet信息系统是否有问题.

If Visual Studio does load and debug, then more than likely an extension or an update is the culprit. This will allow you to also see which updates may have occurred. The other potential issue would be if your Internet Information System had an issue.

  1. 否则,如果您的Internet信息系统处于打开"状态.
  2. CTRL + ALT + DELETE
  3. 转到流程,结束W3P流程.
  4. 尝试在Visual Studio中启动和调试.

否则,只需尝试重新启动计算机即可.我们将需要更多信息,因为多种原因可能会导致这种情况.

Otherwise, simply try restarting your computer. We would need more information, as this can occur for an assortment of reasons.

这篇关于首次成功调试后,Visual Studio 2015无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆