Code::Blocks Forums

User forums => Help => Topic started by: sim642 on June 08, 2010, 04:20:26 pm

Title: Frequent freezing
Post by: sim642 on June 08, 2010, 04:20:26 pm
Hi!

I'm running CB 10.05 on Windows Vista. When I installed it everything worked great.
But now CB freezes frequently for 3-10 seconds. It happens every 30-120 seconds, but only when I interact with the CB, eg. modify code or use keyboard shortcut to compile. Few times it has also crashed after freezing but usually it recovers.

Can anyone help me to somehow fix this problem, because its nearly impossible to program like this.
Title: Re: Frequent freezing
Post by: Jenna on June 08, 2010, 04:49:22 pm
You can check whether "Settings -> Editor -> Code-Completion and symbols browser -> Code completion -> Update parser when typing ..." is set or not.
If it is set, uncheck it and see whether it is better or not.
Title: Re: Frequent freezing
Post by: ollydbg on June 08, 2010, 05:08:59 pm
Hi!

I'm running CB 10.05 on Windows Vista. When I installed it everything worked great.
But now CB freezes frequently for 3-10 seconds. It happens every 30-120 seconds, but only when I interact with the CB, eg. modify code or use keyboard shortcut to compile. Few times it has also crashed after freezing but usually it recovers.

Can anyone help me to somehow fix this problem, because its nearly impossible to program like this.
Can you give more details. The steps to produce this bug?
If possible, can you upload your sample project?
Thanks.
Title: Re: Frequent freezing
Post by: 12oclocker on May 26, 2012, 03:41:02 pm
I know this is an old post, but I am having the exact same problem, with the newest version of codeblocks.
In large projects with 1000 lines of code or more and a dozen or more source files, codeblocks user interface will Freeze every 30 seconds or so, and the freeze will last for as long as 8 seconds, it makes the UI almost un-usable, I am running on an AMD quad core with 4 gigs of memory, default codeblocks install, no customizations of special configurations...
I notice it does not do this on small projects at all. (2 to 3 source code files, about a hundred lines of code)
I disabled "Settings -> Editor -> Code-Completion and symbols browser -> Code completion -> Update parser when typing ..."
and it still freezes....
I am still try to find the cause, seems like it's parsing something intensive and it's not doing it in a separate thread, which is locking up the UI.
Title: Re: Frequent freezing
Post by: oBFusCATed on May 26, 2012, 03:58:13 pm
What does it mean "newest version of codeblocks"?