I am using Windows 8.1, Visual Studio 2013, and I have a C ++ project that lasts more than 15 minutes. But the problem is that the windows are falling asleep while I'm still debugging.
I know that this happened because the sleep timeout was exceeded while the program was running (debugging), and I can easily stop it by increasing the sleep timeout or setting the settings to "never" in the Power Pannel Power Settings.
But for this I want to use software or Visual Studio. I want my computer not to sleep in the middle of executing (debugging) a program.
source share