User forums > Help

Abnormal lags/freezes when editing some header files in large project

(1/2) > >>

RenierVR:
Hi

I am working with a fairly large C project (around 110 files included). For some reason, in the last week, Code::Blocks has been exhibit very strange behaviour when opening and trying to edit some of the header files. Every few seconds C::B freezes, which also lasts for a few seconds. Apart from this, the whole program is slow to respond and frequently lags when typing or closing/switching files. The size of the project did not grow significantly recently, and neither did I change anything relating to C::B (such as installing updates or add-ons).

This does not happen at all when editing source files. It doesn't even happen on most header files, only ones that generally seem to be included by a lot of other files in the project.

Are there any settings or automatic linking, or something similar that might be causing these freezes? I've tried to look around but cannot see anything or find anyone with a similar problem in the forums. Any help would be greatly appreciated!

Thanks in advance.

oBFusCATed:
What OS and C::B version are you using?

RenierVR:
I am running Windows 10 Pro and C::B 16.01.

stahta01:
I suggest turning off the Code Completion plugin; that is the likely cause of the issue.

Devs: Is there any hot keys method to enable and disable Code Completion?
If the OP problem is tied to Code Completion, a fast way to turn it on and off would be good.

Tim S.
 

oBFusCATed:

--- Quote from: stahta01 on June 12, 2017, 07:35:19 pm ---Devs: Is there any hot keys method to enable and disable Code Completion?
If the OP problem is tied to Code Completion, a fast way to turn it on and off would be good.

--- End quote ---
No there aren't. And it won't help, because the cc would need to keep track of changes or do a full reparse...

Navigation

[0] Message Index

[#] Next page

Go to full version