Sometimes if i Debug a C++ program in Visual Studio 2015 it freezes my whole PC so i have to restart it. Windows doesn't respond to anything even not to commands like CRL+ALT+DEL. Even other programms i have open dont respond anymore and everything freezes.
When this happens Visual Studio is loading a DLL as seen in the bottom left corner and then everything just freezes and only the Windows loading cursor still spins.
Fixed it myself: i clicked on Tools->Options->Debugging->Symbols and disabled Microsoft Symbol Servers everything works fine now.
Related
I created a simple program for training purposes in Visual Studio Community Edition 2017 and I'm not having an issue running the program itself but it is showing me the file address for the process its running in the middle of the code in the Debug Console. I'm not sure how to disable this from showing.
I've tried searching Google but honestly I'm not sure how to easily phrase my question so no results really helped.
The program runs perfectly fine with no errors. This is a visual issue
Highlighted area is what I want to get rid of.
You can do it with:
Tools->Options->Debugging->Automatically close the console
Here is a corresponding fragment from the Visual Studio documentation:
Automatically close the console when debugging stops:
Tells Visual Studio to close the console at the end of a debugging session.
I am working on a small C++ project in Visual Studio Community Edition 2015. It contains about 4 units and has two outside libraries connected. Everything was working fine but after some random point in time IDE started to completely hang after using the Create Declaration option from the Quick Actions menu. The cursor stays as it was, which is vertical bar and nothing else happens, it doesn't even say Not Responding. This happens to any project.
I have tried deleting the .suo file and restarting the computer. Nothing helps.
In our company me and some of my colleagues switched from windows 7 do windows 10. All of us noticed the same bug in the Visual Studio 2013:
When the debugger hits the breakpoint and stay there, writing a text starts annoyingly lag anywhere (e.g. in visual studio, notepad, browser...). Everything else on PC works without lagging.
I also have noticed that it happens only if we debug the application which extensively use the GPU.
P.S. Yes we have an updated drivers for Nvidia.
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..
Thanks :)
Try setting a breakpoint on the very first line of your main, click on debug and see if it gets to the breakpoint. If it does, try stepping through until you see what is causing your freeze.
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.
I found the answer from this question:
Visual Studio 2015 freezes when finished building
I tried repairing the installation and reinstalling everything from scratch but nothing seems to fix this problem. This problem also exists when I try to create a Win32 Application in Visual C++ as well as Visual Studio 2013.
Clicking finish and cancel seem to do nothing while the only button that works is the red X on the top right hand corner.
http://i.imgur.com/fHZZ4th.png
I have heard good things about this IDE but I can't seem to create a new project. Please help!