Whenever I press F5 to compile and run a C++ program in Visual Studio 2013, the program stops responding without outputting any error. The cursor becomes busy and the application just hangs.
Here are the steps:
- Create a new Visual C++ console project
- Unselect everything to make it an empty project.
Add the following code to a main.cpp:
#include <iostream> int main() { std::cout << "Hello World!" << std::endl; std::cin.get(); return 0; }
Compile: works fine
- Run with debugger: Mouse turns busy and app becomes unresponsive.
It seems to work when I run without debugging, but there are no console outputs to check. Updated to latest VS2013 release and rebooted the computer just in case there's an error. Running in Windows 10.