News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

C::B stalls when opening large file that is not part of the current project

Started by damorin, May 03, 2012, 05:36:49 PM

Previous topic - Next topic

damorin

Hi,

I'm using the latest nightly build (svn 7932, Windows XP) and I noticed the following when I open a big file (20K+ lines of C declarations) that is not part of my active project:

From the Code::Blocks tab:

Switch parser to project 'FX2000 Phase II'
Switch parser to project '*NONE*'              <- I'm opening the 20K+ line of C declaration and the it freezes C::B for about 15 to 30 sec.

Is there a setting to prevent the parser from switching to "*NONE" when opening a new file not part of the current project ?

I didn't had this problem before (maybe a few nightly build before).





One problem at a time and we will get there.

oBFusCATed

Disable the TODO plugin and the file opening or switching should be fast again.
This is know regression and have nothing to do with the parser.
At least if you've not found another bug/slowdown.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

damorin


Worked like a charm but I had to restart C::B for the change to apply.

Thanks.




One problem at a time and we will get there.