Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: markpotts on December 28, 2013, 09:49:45 pm

Title: IDE hangs (accessing disk) after file open
Post by: markpotts on December 28, 2013, 09:49:45 pm
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
Title: Re: IDE hangs (accessing disk) after file open
Post by: oBFusCATed on December 28, 2013, 10:20:50 pm
Does it happen every time you open the project and then open the same file?
Title: Re: IDE hangs (accessing disk) after file open
Post by: markpotts on December 28, 2013, 11:15:38 pm
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.
Title: Re: IDE hangs (accessing disk) after file open
Post by: oBFusCATed on December 28, 2013, 11:27:48 pm
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?
Title: Re: IDE hangs (accessing disk) after file open
Post by: MortenMacFly on December 29, 2013, 12:19:08 pm
Can you provide a minimal project to reproduce? I.e. the VS project?
Title: Re: IDE hangs (accessing disk) after file open
Post by: markpotts on December 30, 2013, 10:47:42 pm
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