Author Topic: IDE hangs (accessing disk) after file open  (Read 4626 times)

Offline markpotts

  • Multiple posting newcomer
  • *
  • Posts: 15
IDE hangs (accessing disk) after file open
« 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

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: IDE hangs (accessing disk) after file open
« Reply #1 on: December 28, 2013, 10:20:50 pm »
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!]

Offline markpotts

  • Multiple posting newcomer
  • *
  • Posts: 15
Re: IDE hangs (accessing disk) after file open
« Reply #2 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.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: IDE hangs (accessing disk) after file open
« Reply #3 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?
(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 MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: IDE hangs (accessing disk) after file open
« Reply #4 on: December 29, 2013, 12:19:08 pm »
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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline markpotts

  • Multiple posting newcomer
  • *
  • Posts: 15
Re: IDE hangs (accessing disk) after file open
« Reply #5 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