Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign
cc-branch crashes on linux
Jenna:
It's at least much slower.
Loaden:
--- Quote from: jens on August 24, 2010, 11:04:17 am ---It's at least much slower.
--- End quote ---
Here is the test log on linux.
--- Quote ---10.05:
Parsing stage done (1531 total parsed files, 58540 tokens in 0 minute(s), 7.808 seconds).
CC branch -O0
Project 'Code::Blocks - Unix' parsing stage done (1250 total parsed files, 64146 tokens in 0 minute(s), 14.026 seconds).
CC branch -O2
Project 'Code::Blocks - Unix' parsing stage done (1250 total parsed files, 64147 tokens in 0 minute(s), 12.685 seconds).
--- End quote ---
We can see that, cc branch get more tokens, and handle more, like condition preprocessor handle, function-like macro handle...e.g.
You can open the "-O2" option, can make cc faster.
Loaden:
--- Quote from: killerbot on August 24, 2010, 11:00:14 am ---Hopefully this can be fixed.
EDIT : I found a way to reproduce this in my working environment (didn't try with a small project).
So I have a workspace with several projects, some files of these projects are open. I drag and drop a cpp file to CB (this file doesn't belong to any of the projects). CB shows the file.
Then I select the tab of one of those other open files (which are part of the project). All still is ok, then I select the tab of the "open non project file" --> crash.
EDIT 2 : tried this with a small project (generated by CB), and same recipe as in the EDIT above.
--- End quote ---
I will fix it.
--- Quote from: killerbot on August 24, 2010, 11:00:14 am ---I also have the *feeling* that cc works less good then before. Several times nothing comes up, where I think in the past it did. As said : a *feeling*.
--- End quote ---
Could you send me a test project?
oBFusCATed:
Why the number of parsed files is less that the trunk version 1250 vs 1531?
Jenna:
--- Quote from: oBFusCATed on August 24, 2010, 02:23:29 pm ---Why the number of parsed files is less that the trunk version 1250 vs 1531?
--- End quote ---
Because the trunk version also has non sources and headers in the files-list (xrc and others).
I do not know the cause, but I think it parses all project-files that can be opened (just a wild guess).
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version