Visual Studio 2015在调试cpp代码时冻结 [英] Visual Studio 2015 freezes when debugging a cpp code

查看:124
本文介绍了Visual Studio 2015在调试cpp代码时冻结的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我安装了Visual Studio 2015 Enterprise。我试图创建一个c + + OpenGL项目,但是,它总是冻结,当我调试(ctrl + f5)。我试图写一个简单的程序,打印文本到屏幕,它仍然冻结。构建成功完成,C#中的项目不会冻结。当我试图运行cpp项目VS冻结完全,我必须杀死该进程,运行.exe直接冻结explorer ..
我还没有找到任何解决方案的这种问题在网络,我希望这里的人知道该怎么办。

I've installed Visual Studio 2015 Enterprise. I'm trying to create a c++ OpenGL project, however, it always freezes when I'm debugging(ctrl + f5). I've tried to write a simple program that prints text to the screen and it still freezes. The build completes successfully, projects in C# don't freeze as well. When I'm trying to run the cpp project VS freezes completely and I have to kill the process, running the .exe directly freezes the explorer.. I haven't found any solution to that kind of problem in the web, and I was hoping that someone here will know what to do..

感谢:)

推荐答案

我有和你一样的问题。结果我的Avast反病毒导致的问题。我禁用它,现在它的工作。

I had exactly the same problem as you. Turns out my Avast anti-virus was causing the issue. I disabled it and now it's working.

我发现这个问题的答案:
Visual Studio 2015在完成构建后冻结

I found the answer from this question: Visual Studio 2015 freezes when finished building

这篇关于Visual Studio 2015在调试cpp代码时冻结的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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