User forums > Nightly builds

The 16 January 2010 build (6088) is out.

<< < (5/28) > >>

vix:

--- Quote from: blueshake on January 18, 2010, 08:35:09 am ---you do not need to disable cc,just disable parse while typing. :D

--- End quote ---
I didn't explain very weel in my post: I've already disable parse while typing... It was the first thing I did  :D
but unfortunately this don't help  :(

So I disabled the whole plugin.. and  :D  :D
I'm not typing anything, I'm opening the C::B cbp and I see this behaviour

blueshake:
@vix

can you try this,just start  c::b application. and then open the cb project and post the output log here 

lucas:
I did not explain it very well. The code I wrote down above caused the CB to employ the CPU at a rate of 55% while the single message I got when trying to auto-complete the keyword "cout" was something like that the 'C++ parser is stil parsing the file'.

The problem here is not that the "cout" failed to be auto-completed. The issue I try to present here is that the CB uses a lot of the CPU without getting any result. Also after I unchecked the option "Update parser when typing" the CPU was high.

The test was done using the MSVC 2008 (headers were provided by the standard installation of the MSVC 2008) and the code is minimal (I have not tested it for a large project yet).

Lucas


--- Quote from: blueshake on January 18, 2010, 09:02:10 am ---
--- Quote from: lucas on January 18, 2010, 08:51:18 am ---The compiler that I used to test the code completion was Visual C++ 2008 on Windows XP SP3.

The code was very simple:

#include <iostream>

using namespace std;

int main()
{
    cout << "Hello world!" << endl;
    return 0;
}

I was trying to auto-complete the keyword "cout".

Regards,
Lucas


--- Quote from: vix on January 18, 2010, 08:30:08 am ---
--- Quote from: lucas on January 17, 2010, 02:22:34 pm ---I checked in the Windows Task Manager the status of the resources that CodeBlocks were using: CPU at 55% (also the CPU fan was working hard).

Also I unchecked the options "Update parser when typing" but the CPU did not fall under 55% ...
--- End quote ---
The same for me (WinXP SP2, TDM-MinGW 4.4.1.2).


--- Quote from: blueshake on January 18, 2010, 08:09:44 am ---when the issue happened,does the parser hint that the c++ is still parsing?
--- End quote ---
Yes, you're right.
After the parsing the CPU consumption falls to 1-2% (as usual).
I tried to disable the Code Completion plugin and there isn't a such high CPU load.
Moreover also this last NB has this problem (http://forums.codeblocks.org/index.php/topic,11790.0.html)

--- End quote ---

--- End quote ---


done in this thread.http://forums.codeblocks.org/index.php/topic,11800.msg80725.html#msg80725

--- End quote ---

blueshake:
According to  the users' voices,it seems the issues (the cpu used over 50%) are  all  relative to msvc(vc 2005,vc2008),gcc is working fine.



NOtTE:

I suspect something wrong with the path parse.

ollydbg:
@lucas.
Do these steps:
1, open your project, in the cpp file, remove or comment the line below(so there's no include directives in the source file):


--- Code: ---#include <iostream>  

--- End code ---

2, the close your project.

3, reopen your project.

And see what happens. Did your CPU still 50% hang?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version