Author Topic: C::B stalls when opening large file that is not part of the current project  (Read 3778 times)

Offline damorin

  • Multiple posting newcomer
  • *
  • Posts: 52
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.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
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!]

Offline damorin

  • Multiple posting newcomer
  • *
  • Posts: 52

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.