News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

IDE hangs (accessing disk) after file open

Started by markpotts, December 28, 2013, 09:49:45 PM

Previous topic - Next topic

markpotts

I downloaded and installed Code::Blocks and imported a Visual Studio project. When I opened an existing source file it appeared to open correctly but then started continuous disk access and the IDE locked up (busy). I was concerned it might be trashing my machine so I killed the program. I would appreciate any advice as to whether this is normal behavior and if so what it is doing before I try running the IDE again.

Thanks,
Mark

oBFusCATed

Does it happen every time you open the project and then open the same file?
(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!]

markpotts

I have tried a few times and it always locks up accessing disk when I open (and click in) any of the source files. I am running Windows Vista with 8G of RAM so it is not paging (Task Manager shows 59% physical memory used). Whatever is happening is blocking the GUI message thread, which is not good design.

I will try creating a new project and adding the source files directly. Maybe the import (from Visual Studio 2008) is causing the problem. However this is one reason I wanted to use Code::Blocks.

oBFusCATed

Can you try to disable the Code Completion plugin?
Does it happen with a hello world kind of project created by the wizard?
What compiler are you using in you project?
And of course what version of C::B, compiler, etc are you using?
(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!]

MortenMacFly

Can you provide a minimal project to reproduce? I.e. the VS project?
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

markpotts

I created a new project, added the source code and compiled correctly. This is fine for now as my project configurations are pretty simple.

Thanks,
Mark