Code::Blocks Forums
User forums => Help => Topic started by: O-san on February 16, 2016, 10:07:41 pm
-
I am having difficulties running codeblocks 16.01+GNU GCC+gdb. When debugging or just running my project it sometimes freezes up Win10 (all worked fine in Win7 with same computer configuration and antivirus). The only way to continue working is by doing a hard reset and hope that the project starts the next time. I am able to run the same project on another machine with windows 8 installed (same antivirus).
Some Windows functionality seem to work after a freeze such as the mouse cursor and the hover graphics of the quick launch. However I am unable to start/shutdown/minimize any programs, bring up the task manager, ctrl+alt+del, win+x, use the keyboard etc.
The log says nothing beyond Child process PID: 4824. The projects main window shows up without any content.
Running other applications such as blender, audacity etc. has not caused any freezing.
Any help appreciated.
-
Seems to have been caused by the antivirus (avast), if I disable all services the freezing stops. Strange that the same antivirus works with both win7 and 8.1.
-
Try adding an exception to CB
Edit: Removed non-English content.
-
Thanks for the reply! Yes, I have excludes already but it don't seem to affect win10.
-
For Avast Internet Securirty, go to "Settings->Active Protection->File System Shield ... Customize->Exclusions" and try to add the following folders on your computer:
\TDM-GCC-32\* (GCC executable)
\wxWidgets-3.0.2\* (if you have)
\wxMSW-2.8.12\* (if you have)
\Codeblocks\* (Codeblocks executable)
And also the folder of your project. If you create a top "Projects" folder and add it to the exclusion list, then you won't have to add every new project folder to it again and again.